[OPEN-ILS-GENERAL] Zebra LP2824 Plus coding

Terran McCanna tmccanna at georgialibraries.org
Fri Jul 20 10:40:58 EDT 2018


Jinx :D

Terran McCanna
PINES Program Manager
Georgia Public Library Service
tmccanna at georgialibraries.org

* The GPLS office is in the midst of relocating offices. We may be reached
by all of the current mechanisms during the transition, but to ensure the
most prompt response, please use the Help Desk:
https://help.georgialibraries.org


On Fri, Jul 20, 2018 at 10:28 AM, Andrea Buntz Neiman <
abneiman at equinoxinitiative.org> wrote:

> Hi Susan,
>
> A very quick test shows that the below is working for me.
>
> In the call number template tab, you want to have this (which I think is
> the system default):
>
> <pre>
>> {{
>>     [
>>          get_cn_and_location_prefix(copy)
>>         ,copy['call_number.label']
>>         ,get_cn_and_location_suffix(copy)
>>     ]
>>     | cn_wrap:settings['webstaff.cat.label.call_number_wrap_
>> filter_width']:settings['webstaff.cat.label.call_
>> number_wrap_filter_height']:copy['call_number.label_class']
>> }}
>> </pre>
>
>
> In the label template tab, what looks like a lot of code is mostly
> comments about what the different elements are and how to use them.  The
> <style> block elements (font-family, font-size, etc.) can all be edited in
> the settings tab.
>
> I've pulled out the functional bits to print spine labels only, below:
>
> <style>
>>     .spine {
>>         font-family: {{settings['webstaff.cat.label.font.family'] ||
>> 'monospace'}};
>>         font-size: {{settings['webstaff.cat.label.font.size'] || '10'}};
>>         font-weight: {{settings['webstaff.cat.label.font.weight'] ||
>> 'normal'}};
>>         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'}};
>>         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'}};
>>         margin-left: {{settings['webstaff.cat.label.left_label.left_margin']
>> || '0in'}};
>>     }
>>     .labels ::-webkit-scrollbar {
>>         display: none;
>>     }
>>     {{settings['webstaff.cat.label.inline_css']||''}}
>> </style>
>> <table class="labels" style="page-break-after: always;" ng-repeat="copy
>> in copies"><tr valign="top"><td>
>> <!-- Spine Label contents -->
>> <pre class="spine" style="border:none" ng-show="true">
>> {{get_cn_for(copy)}}
>> </pre>
>> </td></tr></table>
>
>
> As long as there are spaces among the four call number elements: LB
> 567.5 .H57 2011, it should print as
> LB
> 567.5
> .H57
> 2011
>
> Try that and see if it works for you, and if it does, save it as a new
> label template.
>
> Andrea
>
> On Fri, Jul 20, 2018 at 9:52 AM Terran McCanna <
> tmccanna at georgialibraries.org> wrote:
>
>> Hi Susan, it would help if you could show how it prints out for you now
>> so we can see what the difference is between what you are getting and what
>> you want to get.
>>
>> Terran McCanna
>> PINES Program Manager
>> Georgia Public Library Service
>> tmccanna at georgialibraries.org
>>
>> * The GPLS office is in the midst of relocating offices. We may be
>> reached by all of the current mechanisms during the transition, but to
>> ensure the most prompt response, please use the Help Desk:
>> https://help.georgialibraries.org
>>
>>
>> On Fri, Jul 20, 2018 at 9:45 AM, Oxford, Susan <soxford at ucn.ca> wrote:
>>
>>> Hello,
>>>
>>>
>>>
>>> Thanks. I looked at it again and my outlook adjusted the call number to
>>> double spaced. We single space call number labels.
>>>
>>>
>>>
>>> We’re having problems figuring out the new code for what we want. I used
>>> to be able to do this with the old code but I can’t figure out the new code
>>> with all the {{    <prev   The code looks a mix between html and
>>> something else. Does anyone have any suggestions on what the new code would
>>> be for just a call number to appear on the label?
>>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> Susan
>>>
>>>
>>>
>>> *From:* Open-ils-general [mailto:open-ils-general-
>>> bounces at list.georgialibraries.org] * On Behalf Of *Terran McCanna
>>> *Sent:* July 20, 2018 8:25 AM
>>> *To:* Evergreen Discussion Group <open-ils-general at list.
>>> georgialibraries.org>
>>> *Subject:* Re: [OPEN-ILS-GENERAL] Zebra LP2824 Plus coding
>>>
>>>
>>>
>>> I'm not aware of a way to break the call number label field
>>> automatically in certain places (although there may be a way to do that
>>> with CSS). Are your call numbers typically that length / pattern? If so, I
>>> would probably try adjusting the " Item Print Label - Width for Left Label"
>>> on the Settings tab so that it would force the label to wrap at a certain
>>> point, and then tweak any that don't wrap the way I want them to on the
>>> "Call Numbers" tab before printing.
>>>
>>>
>>> Terran McCanna
>>> PINES Program Manager
>>> Georgia Public Library Service
>>> tmccanna at georgialibraries.org
>>>
>>>
>>>
>>> * The GPLS office is in the midst of relocating offices. We may be
>>> reached by all of the current mechanisms during the transition, but to
>>> ensure the most prompt response, please use the Help Desk:
>>> https://help.georgialibraries.org
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Jul 19, 2018 at 5:00 PM, Oxford, Susan <soxford at ucn.ca> wrote:
>>>
>>> Hello,
>>>
>>>
>>>
>>> We have successfully installed our Zebra  LP2824 Plus spine label
>>> printer and now we are trying to set up the template. We have figured out
>>> the font. The extensive coding list for the template is difficult for us to
>>> understand or even look at. Does anyone know what the coding is we input
>>> into the template for just a call number to look like this example:
>>>
>>>
>>>
>>>                 LB
>>>
>>>                 567.5
>>>
>>>                 .H57
>>>
>>>                 2011
>>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> Susan
>>>
>>>
>>>
>>>
>>>
>>> Susan Oxford, MLIS
>>>
>>> Campus Librarian
>>>
>>> University College of the North
>>>
>>> UCN Thompson Campus
>>>
>>> 55 UCN Dr.
>>>
>>> Thompson, MB, R8N 1L7
>>>
>>> 204-677-6408 x 2
>>>
>>> soxford at ucn.ca
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
> --
> Andrea Buntz Neiman
> Project Manager for Software Development
> Equinox Open Library Initiative
> abneiman at equinoxinitiative.org
> 1-877-OPEN-ILS (673-6457)
> *www.equinoxinitiative.org <http://www.equinoxinitiative.org>*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20180720/42b166da/attachment.html>


More information about the Open-ils-general mailing list