Hi!

It looks to me like the issue is there's no barcode font available directly
in Evergreen. You'd need to have a font uploaded to call in the style
parameter, like "font-family:url('fonts/barcode-font-example.ttf')". The
guide you're using is out of date and was for the old software client
version of Evergreen where it could call on fonts installed on the
workstation.

Hope that helps,

Shula Link (she/her)
Systems Services Librarian
Greater Clarks Hill Regional Library
[email protected] | [email protected]
706-447-6702


On Tue, Apr 25, 2023 at 11:43 AM Jess Serrenti via Evergreen-general <
[email protected]> wrote:

> Hello Everyone,
>
>
>
> Has anyone had success in scripting a receipt template so that a patron’s
> library card number will print as a scannable barcode? My library used to
> be able to do this for patrons who forgot to bring their physical card and
> needed to use a computer. However, the receipt only prints the full number
> anymore For privacy reasons, we don’t want to keep printing the card
> numbers.
>
>
>
> I currently use the Patron Address print template and format it to say the
> following below. The line highlighted in yellow is where we’d tell the code
> to print the barcode, but it unfortunately does not work anymore. I did try
> following this tutorial from the Evergreen Wikipage (
> https://wiki.evergreen-ils.org/doku.php?id=scratchpad:barcode_font&s[]=barcode),
> but had the same problem.
>
>
>
> <!--
>
> Template for printing a patron address. Fields include:
>
>
>
> * first_given_name
>
> * second_given_name
>
> * family_name
>
> * address.street1
>
> * address.street2
>
> * address.city
>
> * address.state
>
> * address.post_code
>
>
>
> -->
>
> <div>
>
>   <div>
>
> <center>Lackawanna County Library System<br>
>
> <b>Temporary Slip</b><br></center>
>
> <p>
>
> <br>
>
>
>
>     {{patron.first_given_name}}
>
>     {{patron.second_given_name}}
>
>     {{patron.family_name}}
>
> <p>
>
> <br>
>
> Library Card Number:  {{patron.card.barcode}}
>
> <br>Barcode: <div style= "font-family: 'Code-Codabar'; font-size: 50px"
> >B{{patron.card.barcode}}D</div>
>
> <p>
>
> <br>
>
> New:_______ Temporary: _______<br>
>
> New users can use the library computers and are allowed 1 item until they
> receive cards in the mail.
>
> <p>
>
> <br>
>
> <div>Today's Date:   {{today | date:'M/d/yyyy'}}</div>
>
>
>
> Any help or insight would be greatly appreciated.
>
>
>
> Thank you,
>
>
>
> *Jessica Serrenti*
>
> Head of IT & Digital Services
>
> Scranton Public Library
>
> Lackawanna County Library System
>
> 500 Vine Street
>
> Scranton, PA 18509
>
> Phone: (570) 795-4332
>
> Cell: (570) 871-0187
>
> [email protected]
>
>
> _______________________________________________
> Evergreen-general mailing list
> [email protected]
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
>
_______________________________________________
Evergreen-general mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general

Reply via email to