Specifications

37
ZPL Commands
^B9
9/15/06 ZPL II Programming Guide 45541L-004 Rev. A
^B9
UPC-E Bar Code
Description The ^B9 command produces a variation of the UPC symbology used for
number system 0. It is a shortened version of the UPC-A bar code, where zeros are suppressed,
resulting in codes that require less printing space. The 6 dot/mm,
12 dot/mm, and 24 dot/mm printheads produce the UPC and EAN symbologies at
100 percent of their size. However, an 8 dot/mm printhead produces the UPC and EAN
symbologies at a magnification factor of 77 percent.
Each character in a UPC-E bar code is composed of four elements: two bars and two spaces.
The
^BY command must be used to specify the width of the narrow bar.
^B9 supports a fixed ratio.
Field data (
^FD) is limited to exactly 10 characters, requiring a five-digit manufacturer’s
code and five-digit product code.
When using the zero-suppressed versions of UPC, you must enter the full
10-character sequence. ZPL II calculates and prints the shortened version.
Format
^B9,h,f,g,e
This table identifies the parameters for this format:
Important • If additional information about the UPC-E bar code is required, go to
www.aimglobal.org.
Parameters Details
o = orientation Accepted Values:
N = normal
R = rotated 90 degrees (clockwise)
I = inverted 180 degrees
B = read from bottom up, 270 degrees
Default Value: current
^FW value
h = bar code height
(in dots)
Accepted Values: 1 to 32000
Default Value: value set by ^BY
f
= print
interpretation
line
Accepted Values:
N = no
Y = yes
Default Value: Y