[OPEN-ILS-GENERAL] Printing barcode fonts in web client
Lindsay Stratton
lstratton at pls-net.org
Wed Jan 9 10:21:55 EST 2019
Hi Lynn,
Thanks for the feedback!
As it happens, I think my computer/version of Evergreen (3.0.13)/Chrome/something else seems to be VERY PICKY about the barcode font.
For what it's worth, I ended up using "Free 3 of 9 Extended" (I tried three other barcode fonts to no avail...) and increasing the font size. My final, working result is: <div style= "font-family:'Free 3 of 9 Extended'; font-size: 200%">*{{patron.card.barcode}}*</div>
Lindsay Stratton
Library Automation Services Manager
Pioneer Library System
2557 State Rte 21
Canandaigua, NY 14424
From: "Lynn Floyd" <lfloyd at andersonlibrary.org>
To: "Evergreen Discussion Group" <open-ils-general at list.georgialibraries.org>
Sent: Tuesday, January 8, 2019 5:08:06 PM
Subject: Re: [OPEN-ILS-GENERAL] Printing barcode fonts in web client
BQ_BEGIN
The problem with the code as you have it written, the word “Barcode:” would also be in the Codabar font.
Also, most barcodes have to have a start and stop digit. In the example below you will see the “B” and “D”. This tells the scanner the start and stop of the barcode.
I have tried this on my computer with a different barcode font, and it works great. But, remember the barcode font needs to be loaded on each computer that will use this receipt.
Barcode: <div style= "font-family: 'CodabarLarge';">B{{patron.card.barcode}}D</div>
Lynn Floyd
[ mailto:Lfloyd at andersonlibrary.org | Lfloyd at andersonlibrary.org ]
Anderson County Library
Anderson, SC
From: Open-ils-general <open-ils-general-bounces at list.georgialibraries.org> On Behalf Of Lindsay Stratton
Sent: Tuesday, January 08, 2019 4:13 PM
To: Evergreen Discussion Group <open-ils-general at list.georgialibraries.org>
Subject: [OPEN-ILS-GENERAL] Printing barcode fonts in web client
In the desktop client it was possible to print receipts with scannable barcode fonts. I've tried using basically the same string in the web client with the CodabarLarge font installed, but no luck. String: "<div style= "font-family: 'CodabarLarge';">Barcode: {{patron.card.barcode}}</div>"
Am I missing something, or is this not supported in the web client?
Lindsay Stratton
Library Automation Services Manager
Pioneer Library System
2557 State Rte 21
Canandaigua, NY 14424
Lynn Floyd
Head of Information Technology
Anderson County Library
Anderson, SC
lfloyd at andersonlibrary.org
BQ_END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20190109/76eebfb3/attachment.html>
More information about the Open-ils-general
mailing list