21
4.3 PCL Escape Sequences
From UNIX or DOS it is necessary to send PCL escape sequences as part of the
print data to select the desired bar code font. The PCL escape sequences for the
fonts are shown on the PCL font list. Instructions on how to print the PCL font list are
given in your printer manual.
Font Name
PCL Escape Sequence
UPCTall : esc(24Yesc(s1p#v0s0b28688T
UPCTallNarrow : esc(24Yesc(s1p#v0s0b28689T
UPCTallThin : esc(24Yesc(s1p#v0s0b28690T
UPCHalf : esc(24Yesc(s1p#v0s0b28691T
UPCHalfNarrow : esc(24Yesc(s1p#v0s0b28692T
UPCHalfThin : esc(24Yesc(s1p#v0s0b28693T
UPCTallMusicThin : esc(24Yesc(s1p#v0s0b28694T
UPCHalfMusicThin : esc(24Yesc(s1p#v0s0b28695T
UPCTallBarsThin : esc(24Yesc(s1p#v0s0b28696T
UPCHalfBarsThin : esc(24Yesc(s1p#v0s0b28697T
(# : point size 0.25 - 999.75)
After printing a bar code it is necessary to select a different font in order to print
something besides more bar codes. The PCL command to select the default font is
“<esc>(3@”. To select a font other than the default font, use the PCL escape
sequence shown on the PCL font list.
5 Codabar
5.1 About
Codabar
Created in 1972, Codabar was developed by the Monarch Marking Systems division
of Pitney Bowes, Inc. Originally developed for retail price labeling, Codabar is a
general purpose bar code used primarily for numeric data. It is used in libraries, to
label photo-finishing envelopes, Federal Express air bills, and is the American Blood
Commission's standard symbology for blood bag labeling. Blood banks use the D
stop character to indicate that the next bar code beginning with a D should be
concatenated with the current bar code. The Xerox Codabar bar code font is the
Rationalized Codabar variant. Codabar may also be referred to as Ames Code,
USD-4, NW-7, or 2 of 7 Code.
Codabar is bi-directional, self-checked and discrete. Its length is unlimited and there
is no checksum defined as part of the Codabar standard, but some industries
(libraries, for example) have adopted their own checksum standards. AIM has a
recommended check character.
The Codabar font works with any Microsoft Windows
®
, Macintosh
®
, or UNIX
application. As a font, it is easy to integrate into a database, spreadsheet, or custom
application.