<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Rockwell Nova";
        panose-1:2 6 5 3 2 2 5 2 4 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Yep.  What Shula just said.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As a proof on concept I downloaded and installed the Libre Barcode 39 font from google fonts on my local machine.  I added the following in the address template above the first <div> to point to the local font, and then I changed the font-family
 in your template from ‘Code-Codabar’ to ‘Libre Barcode39’.  It worked.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><style></p>
<p class="MsoNormal">@font-face {</p>
<p class="MsoNormal">    font-family: 'Libre Barcode39';</p>
<p class="MsoNormal">    src: local('Libre Barcode 39 Regular');</p>
<p class="MsoNormal">}</p>
<p class="MsoNormal"></style></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For those following along.  This is just a proof of concept.   Jessica’s template has the barcode wrapped in a B and D prefix and suffix.  I don’t recall off the top of my head if this is correct for code 39.  I can experiment more once
 I am back in the office.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:evergreen-general@list.evergreen-ils.org">Shula Link via Evergreen-general</a><br>
<b>Sent: </b>Tuesday, April 25, 2023 12:30 PM<br>
<b>To: </b><a href="mailto:evergreen-general@list.evergreen-ils.org">Evergreen Discussion Group</a><br>
<b>Cc: </b><a href="mailto:slink@gchrl.org">Shula Link</a>; <a href="mailto:jserrenti@albright.org">
Jess Serrenti</a><br>
<b>Subject: </b>Re: [Evergreen-general] Printing Barcodes for Library Cards in Evergreen</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi!<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Hope that helps,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Shula Link (she/her)<o:p></o:p></p>
<div>
<p class="MsoNormal">Systems Services Librarian<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Greater Clarks Hill Regional Library<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:slink@columbiacountyga.gov" target="_blank">slink@columbiacountyga.gov</a> | <a href="mailto:slink@gchrl.org" target="_blank">slink@gchrl.org</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">706-447-6702<o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">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:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">Hello Everyone,</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;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.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;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.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><!--</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">Template for printing a patron address. Fields include:</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">* first_given_name</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">* second_given_name</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">* family_name</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">* address.street1</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">* address.street2</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">* address.city</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">* address.state</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">* address.post_code</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">--></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><div></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">  <div></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><center>Lackawanna County Library System<br></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><b>Temporary Slip</b><br></center></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><br></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">    {{patron.first_given_name}}
</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">    {{patron.second_given_name}}
</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">    {{patron.family_name}}</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><br></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">Library Card Number:  {{patron.card.barcode}}
</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif;color:black;background:yellow"><br>Barcode: <div style= "font-family: 'Code-Codabar'; font-size: 50px" >B{{patron.card.barcode}}D</div></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><br></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">New:_______ Temporary: _______<br></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">New users can use the library computers and are allowed 1 item until they receive cards in the mail.
</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><br></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><div>Today's Date:   {{today | date:'M/d/yyyy'}}</div></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">Any help or insight would be greatly appreciated.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">Thank you,</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"> </span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><i><span style="font-family:"Rockwell Nova",serif">Jessica Serrenti</span></i></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Rockwell Nova",serif">Head of IT & Digital Services</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Rockwell Nova",serif">Scranton Public Library</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Rockwell Nova",serif">Lackawanna County Library System</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Rockwell Nova",serif">500 Vine Street</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Rockwell Nova",serif">Scranton, PA 18509</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Rockwell Nova",serif">Phone: (570) 795-4332</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Rockwell Nova",serif">Cell: (570) 871-0187</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Rockwell Nova",serif"><a href="mailto:jserrenti@albright.org" target="_blank">jserrenti@albright.org</a></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:4.8pt">_______________________________________________<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" target="_blank">http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>