<div dir="ltr">Hi!<div><br></div><div>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.</div><div><br></div><div>Hope that helps,</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Shula Link (she/her)<div>Systems Services Librarian</div><div>Greater Clarks Hill Regional Library</div><div><a href="mailto:slink@columbiacountyga.gov" target="_blank">slink@columbiacountyga.gov</a> | <a href="mailto:slink@gchrl.org" target="_blank">slink@gchrl.org</a></div><div>706-447-6702</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 25, 2023 at 11:43 AM Jess Serrenti via Evergreen-general <<a href="mailto:evergreen-general@list.evergreen-ils.org">evergreen-general@list.evergreen-ils.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-1778439021323738337">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_-1778439021323738337WordSection1">
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">Hello Everyone,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">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 (<a href="https://wiki.evergreen-ils.org/doku.php?id=scratchpad:barcode_font&s%5b%5d=barcode" target="_blank">https://wiki.evergreen-ils.org/doku.php?id=scratchpad:barcode_font&s[]=barcode</a>),
but had the same problem.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><!--<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">Template for printing a patron address. Fields include:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">* first_given_name<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">* second_given_name<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">* family_name<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">* address.street1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">* address.street2<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">* address.city<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">* address.state<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">* address.post_code<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">--><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><div><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"> <div><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><center>Lackawanna County Library System<br><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><b>Temporary Slip</b><br></center><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><p><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><br><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"> {{patron.first_given_name}}
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"> {{patron.second_given_name}}
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"> {{patron.family_name}}<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><p><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><br><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">Library Card Number: {{patron.card.barcode}}
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif;background:yellow"><br>Barcode: <div style= "font-family: 'Code-Codabar'; font-size: 50px" >B{{patron.card.barcode}}D</div></span><span style="font-size:14pt;font-family:"Cambria Math",serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><p><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><br><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">New:_______ Temporary: _______<br><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">New users can use the library computers and are allowed 1 item until they receive cards in the mail.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><p><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><br><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><div>Today's Date: {{today | date:'M/d/yyyy'}}</div><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">Any help or insight would be greatly appreciated.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif">Thank you,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><i><span style="font-family:"Rockwell Nova",serif">Jessica Serrenti<u></u><u></u></span></i></b></p>
<p class="MsoNormal"><span style="font-family:"Rockwell Nova",serif">Head of IT & Digital Services<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Rockwell Nova",serif">Scranton Public Library<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Rockwell Nova",serif">Lackawanna County Library System<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Rockwell Nova",serif">500 Vine Street<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Rockwell Nova",serif">Scranton, PA 18509<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Rockwell Nova",serif">Phone: (570) 795-4332<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Rockwell Nova",serif">Cell: (570) 871-0187<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Rockwell Nova",serif"><a href="mailto:jserrenti@albright.org" target="_blank">jserrenti@albright.org</a><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
Evergreen-general mailing list<br>
<a href="mailto:Evergreen-general@list.evergreen-ils.org" target="_blank">Evergreen-general@list.evergreen-ils.org</a><br>
<a href="http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general" rel="noreferrer" target="_blank">http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general</a><br>
</div></blockquote></div>