HI Elizabeth

Thanks, seeing the template itself was helpful.  I'll poke around with it, but 
I've only gotten requests about removing blank lines so I'm not entirely sure 
how to add or retain blank lines.





[cid:59dead8d-22bd-41c9-8d1f-7689d6048e1e]Elizabeth Davis (she/her), Program 
Manager

Pennsylvania Integrated Library System (PaILS) | SPARK

(717) 256-1627 | 
[email protected]<mailto:[email protected]>
support.sparkpa.org<https://support.sparkpa.org/> | 
[email protected]<mailto:[email protected]>



________________________________
From: Elizabeth Hager <[email protected]>
Sent: Wednesday, March 11, 2026 1:00 PM
To: Elizabeth Davis <[email protected]>
Cc: Evergreen Discussion Group <[email protected]>; 
[email protected] 
<[email protected]>
Subject: Re: [Evergreen-catalogers] Label template help

Hi Elizabeth!

This is how we would like the labels to look. BISAC has several levels that 
vary based on the subject. When we enter the info into the call number field we 
use " / " to force line breaks but we want to avoid using that at the end of 
the call number if possible because it looks cluttered and confusing to patrons.


[One line.png][Two lines.png][Three lines.png]



I'm pasting the code we are using below and attaching the json file as well.

Thank you for any help or suggestions!

<!-- Spine Label contents -->

<!-- Pocket Label contents -->
<style>
   /* The .spine here defines a CSS "class", which in this case, is used by our
       left label */
    .spine {


line-height: 125%;


        /* this pulls from the "Item Print Label Font Family" setting, but will
           default to 'monospace' */
        font-family: {{settings['webstaff.cat.label.font.family'] || 
'monospace'}};

        /* this pulls from the "Item Print Label Font Size" setting, but will
           default to 'normal' */
        font-size: {{settings['webstaff.cat.label.font.size'] || '10'}};

        /* this pulls from the "Item Print Label Font Weight" setting, but will
           default to 'normal' */
        font-weight: {{settings['webstaff.cat.label.font.weight'] || 'normal'}};

        /* this pulls from the "Item Print Label - Height for Left Label"
           setting, but will default to '1.25in' */
        height: {{settings['webstaff.cat.label.left_label.height'] || 
'1.25in'}};
        min-height: {{settings['webstaff.cat.label.left_label.height'] || 
'1.25in'}};
        max-height: {{settings['webstaff.cat.label.left_label.height'] || 
'1.25in'}};

        /* this pulls from the "Item Print Label - Width for Left Label"
           setting, but will default to '1in' */
        width: {{settings['webstaff.cat.label.left_label.width'] || '1in'}};
        min-width: {{settings['webstaff.cat.label.left_label.width'] || '1in'}};
        max-width: {{settings['webstaff.cat.label.left_label.width'] || '1in'}};

        /* this pulls from the "Item Print Label - Left Margin for Left Label"
           setting, but will default to '0in' */
        margin-left: {{settings['webstaff.cat.label.left_label.left_margin'] || 
'0in'}};
    }

    /* This CSS class is used by our right label */
    .pocket {

        /* this pulls from the "Item Print Label Font Family" setting, but will
           default to 'monospace' */
        font-family: {{settings['webstaff.cat.label.font.family'] || 
'monospace'}};

        /* this pulls from the "Item Print Label Font Size" setting, but will
           default to 'normal' */
        font-size: {{settings['webstaff.cat.label.font.size'] || '10'}};

        /* this pulls from the "Item Print Label Font Weight" setting, but will
           default to 'normal' */
        font-weight: {{settings['webstaff.cat.label.font.weight'] || 'normal'}};

        /* this pulls from the "Item Print Label - Height for Left Label"
           setting, but will default to '1.25in' */
        height: {{settings['webstaff.cat.label.right_label.height'] || 
'1.25in'}};
        min-height: {{settings['webstaff.cat.label.right_label.height'] || 
'1.25in'}};
        max-height: {{settings['webstaff.cat.label.right_label.height'] || 
'1.25in'}};

        /* this pulls from the "Item Print Label - Width for Left Label"
           setting, but will default to '2.625in' */
        width: {{settings['webstaff.cat.label.right_label.width'] || 
'2.625in'}};
        min-width: {{settings['webstaff.cat.label.right_label.width'] || 
'2.625in'}};
        max-width: {{settings['webstaff.cat.label.right_label.width'] || 
'2.625in'}};

        /* this pulls from the "Item Print Label - Left Margin for Left Label"
           setting, but will default to '0in' */
        margin-left: {{settings['webstaff.cat.label.right_label.left_margin'] 
|| '0in'}};

    }

    /* This is to help mitigate artifacts in the Preview pane which don't
       actually print */
    .labels ::-webkit-scrollbar {
        display: none;
    }

    /* This pulls from the "Item Print Label - Inline CSS" setting */
    {{settings['webstaff.cat.label.inline_css']||''}}

    .print+.print {
        page-break-before: always;
    }

</style>

<table id="eg_plt_1770738444191_{{$index}}" eg-print-label-table 
style="border-collapse: collapse; border: 0 solid transparent; border-spacing: 
0; margin: {{$index === 0 ? toolbox_settings.page.margins.top.size : 0}} 0 0 
0;" class="custom-label-table{{$index % toolbox_settings.page.dimensions.rows 
=== 0 && $index > 0 && toolbox_settings.feed_option.selected === 'sheet' ? ' 
page-break' : ''}}" ng-init="parentIndex = $index" ng-repeat="row in 
label_output_copies">
<tr>
<td style="border: 0 solid transparent; padding: {{parentIndex % 
toolbox_settings.page.dimensions.rows === 0 && 
toolbox_settings.feed_option.selected === 'sheet' && parentIndex > 0 ? 
toolbox_settings.page.space_between_labels.vertical.size : parentIndex > 0 ? 
toolbox_settings.page.space_between_labels.vertical.size : 0}} 0 0 {{$index === 
0 ? toolbox_settings.page.margins.left.size : col.styl ? col.styl : 
toolbox_settings.page.space_between_labels.horizontal.size}};" ng-repeat="col 
in row.columns">
<pre class="{{col.cls}}" style="border: none; margin-bottom: 0; margin-top: 0; 
overflow: hidden;" ng-if="col.cls === 'spine'">
{{col.c ? get_cn_for(col.c) : ''}}</pre>
<pre class="{{col.cls}}{{parentIndex % toolbox_settings.page.dimensions.rows 
=== 0 && parentIndex > 0 && toolbox_settings.feed_option.selected === 'sheet' ? 
' page-break' : ''}}" style="border: none;  margin-bottom: 0; margin-top: 0; 
overflow: hidden;" ng-if="col.cls === 'pocket'">
{{col.c ? (col.c['call_number.owning_lib.shortname'] | limitTo:-3) : ''}}
{{col.c ? (get_bib_for(col.c).title | limitTo:8) : ''}}
{{col.c ? (col.c.barcode | limitTo:-6) : ''}}
{{today | date:'MM-dd-yy' : ''}}
</pre>
</td>
</tr>
</table>




On Wed, Mar 11, 2026 at 7:27 AM Elizabeth Davis 
<[email protected]<mailto:[email protected]>> wrote:
Hi Elizabeth

I'm only vaguely familiar with BIASC codes, so can you share an example of what 
you are hoping the label will look like?




[cid:ii_19cddcdfeb8b8b714b51]Elizabeth Davis (she/her), Program Manager

Pennsylvania Integrated Library System (PaILS) | SPARK

(717) 256-1627 | 
[email protected]<mailto:[email protected]>
support.sparkpa.org<https://support.sparkpa.org/> | 
[email protected]<mailto:[email protected]>



________________________________
From: Elizabeth Hager via Evergreen-catalogers 
<[email protected]<mailto:[email protected]>>
Sent: Tuesday, March 10, 2026 3:38 PM
To: Evergreen Discussion Group 
<[email protected]<mailto:[email protected]>>;
 
[email protected]<mailto:[email protected]>
 
<[email protected]<mailto:[email protected]>>
Cc: Elizabeth Hager <[email protected]<mailto:[email protected]>>
Subject: [Evergreen-catalogers] Label template help

Apologies for cross posting. We are reclassifying our picture book collection 
from dewey to BISAC and I'm trying to find a way to force the "Call Number 
field" to always be 3 lines on our spine/pocket labels, even when the field 
does not require 3 lines.

So far I can force it by using two spaces and a slash (repeated twice) " / " at 
the end of a single line, but it looks strange in the staff and patron catalog 
and we'd like to avoid doing that if possible. We can also manually force the 
line when we print the label, but when we are mass printing it takes a lot of 
time to add the lines and we want to avoid having to do that long-term.

I'm curious if someone might know of a code to force that field to be 3 lines 
regardless of the number of lines actively being used.

Thanks for any suggestions or help you can provide!

--
Elizabeth Hager (she/her)
Collections Coordinator
Porter County Public Library
103 Jefferson St.
Valparaiso, IN 46383
219-462-0524 ext. 35128


--
Elizabeth Hager (she/her)
Collections Coordinator
Porter County Public Library
103 Jefferson St.
Valparaiso, IN 46383
219-462-0524 ext. 35128
_______________________________________________
Evergreen-general mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to