Re: [IUG] Another Print Template/Spine Label Question


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Have a look at some examples on the print templates wiki,
also have a look at the data library. There are many more
fields to use.

http://csdirect.iii.com/lswiki/PrintTemplates/PrintTemplatesMonographicS
pineLabels

Also I'm not sure what you mean by "c" field. I'm no a cataloguer,
but normally it would go into one of the 09x fields, wouldn't it?

regards

Mark

========================================
Mark Huppert
Library Web Development &
Integrated Library Management System Coordinator
Division of Information
R.G. Menzies Building (#2)
The Australian National University
ACTON ACT 0200

T: +61 02 6125 2752
F: +61 02 6125 4063
W: http://anulib.anu.edu.au/about/

CRICOS Provider #00120C
========================================

-----Original Message-----
From: innopac-bounces at innopacusers dot org
[mailto:innopac-bounces at innopacusers dot org] On Behalf Of William Gray
Sent: Friday, 27 March 2009 5:16 AM
To: INNOPAC at innopacusers dot org
Subject: [IUG] Another Print Template/Spine Label Question

Hello,

I've run into one more minor hurdle with the print (spine label)
templates, and it's likely due more to my unfamiliarity with Java (as
opposed to C#), so I'm hoping someone here has an answer...

We have some records where we enter the call number ("c" field) into the
actual item record, which overrides the call number in the bib record
when printing, etc. The only problem with this is that Millennium does
not appear to recognize our subfield delimiters as being
"CarriageReturns" for the purposes of printing, likely due to the
necessity of using the "itemc" function in iReport to designate that
field for printing. I'm using the .replaceAll function to replace spaces
with carriage returns because we need everything on a separate line that
way for printing, but I can't see how I can also instruct Millennium to
replace the "|b" delimiter with nothing ("") at the same time.

Here's my current script:


$F{itemc}}.replaceAll(" ","\n") + $F{callEntireCR}.replaceAll(" ","\n")


Since Millennium seems to ignore the bib record call number if there's a
call number in the item record, this works in printing just the item
record call number, otherwise when there is no item record call number
it prints the bib record call number as expected (via the "callEntireCR"
function).

Unforunately this script does not remove the "|b" delimiter, as
explained above, so it gets printed with the call number unless we enter
the call number without it first, then print the spine label, then add
the "|b" back in since we need it in the item record.

Does anyone know of a syntax I could use to combine both the replacement
of blacnk spaces with carriage returns AND the |b with nothing(""),
without ending up having gthe call number print twice (once each way)?

Please send any responses to the list so others may benefit...

Thanks again,

--Will

--
This message was distributed through the Innovative Users Group INNOPAC
list
Public replies: INNOPAC at innopacusers dot org
Update your subscription options:
http://innopacusers.org/mailman/listinfo/innopac