User Tools

Site Tools


scratchpad:barcode_font

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scratchpad:barcode_font [2011/08/01 05:14] phasefxscratchpad:barcode_font [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 3: Line 3:
 ===== Step 1) Download and install a barcode font ===== ===== Step 1) Download and install a barcode font =====
  
-In this case I tried a "freewarefont from [[http://www.barcodesinc.com/free-barcode-font/|BarcodesInc]], Code 39 (AKA Code 3 of 9).  The file is named free3of9.zip, and if you unzip it you should see+In this case I tried a freeware (free as in beer) font from [[http://www.barcodesinc.com/free-barcode-font/|BarcodesInc]], Code 39 (AKA Code 3 of 9).  The file is named free3of9.zip, and if you unzip it you should see
 <code> <code>
 FRE3OF9X.TTF FRE3OF9X.TTF
Line 12: Line 12:
 To install in Windows XP (other Windows should be similar), go to //Start// -> //Control Panel// ( optional, -> //Switch to Classic View//) -> //Fonts// This should open a window titled **Fonts**. To install in Windows XP (other Windows should be similar), go to //Start// -> //Control Panel// ( optional, -> //Switch to Classic View//) -> //Fonts// This should open a window titled **Fonts**.
  
-**picture here**+{{:scratchpad:barcode_font_step1.png?|picture of winxp fonts window}}
  
 From the //File// menu in the **Fonts** window, choose //Install New Font// Navigate using the //Folders:// and //Drives:// sections of the dialog to find your unzipped folder containing the FREE3OF9 font. From the //File// menu in the **Fonts** window, choose //Install New Font// Navigate using the //Folders:// and //Drives:// sections of the dialog to find your unzipped folder containing the FREE3OF9 font.
  
-**picture here**+{{:scratchpad:barcode_font_step1b.png?|picture of winxp fonts dialog}}
  
 In my case, this was **c:\Documents and Settings\phasefx\My Documents\Downloads\free3of9\** In my case, this was **c:\Documents and Settings\phasefx\My Documents\Downloads\free3of9\**
  
-Once you find it and see the two fonts listed in the //List of fonts:// section, then choose //Select All// and then //OK// The fonts should now be installed and you may close the **Fonts** window.+Once you find it and see the two fonts listed in the //List of fonts:// section, choose //Select All// and then //OK// The fonts should now be installed and you may close the **Fonts** window.
  
-===== Test the font =====+**Update:** In Windows 7, I was able to simply right-click on a font file after unzipping them and select Install from the context menu.
  
 +===== Step 2) Test the font =====
 +
 +Now load up Wordpad (for example, by choosing //Start// -> //Run// -> typing //wordpad// and pressing enter).  In Wordpad, select //Format// -> //Font//, and in the Font dialog select "Free 3 of 9 Extended" and increase the font size before choosing //OK//.
 +
 +{{:scratchpad:barcode_font_step2.png?|picture of wordpad font dialog}}
 +
 +Now, in the Wordpad document, enter an asterisk (*), type a barcode, then follow with another asterisk.  Print this page and try to scan it.  Assuming this works, on to the Evergreen staff client we go.
 +
 +{{:scratchpad:barcode_font_step2b.png?|picture of barcode font example in wordpad}}
 +
 +===== Step 3) Open the Receipt Template Editor in the Evergreen staff client =====
 +
 +In EG 2.1, this would be under //Admin// -> //Workstation Administration// -> //Receipt Template Editor// It should default to the item_status template, and the //Line Item// box should contain something like this:
 +<code html>
 +<li>%title%<br/>
 +Barcode: %barcode%
 +</code>
 +
 +We want to put **<span style='font-size: 25pt; font-family: "Free 3 of 9 Extended"'>*** in front of %barcode%, and ***</span>** after it, like so:
 +<code html>
 +<li>%title%<br/>
 +Barcode: <span style='font-size: 25pt; font-family: "Free 3 of 9 Extended"'>*%barcode%*</span>
 +</code>
 +
 +**Update:** Recently on a Windows 7 system, I had to use "Free 3 of 9" instead of "Free 3 of 9 Extended".
 +
 +Select //Save Locally// to make the change.
 +
 +{{:scratchpad:barcode_font_step3.png?|picture of evergreen staff client receipt template editor}}
 +
 +Then go to //Circulation// -> //Show Item Status by Barcode (F5)//, scan some barcodes, and select //Print// to try it out.  And that's all there is to it.  You may need to tweak the font-size in the template to make the barcode more easily scannable.
scratchpad/barcode_font.1312190053.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.