Specifications
35
ZPL Commands
^B8
9/15/06 ZPL II Programming Guide 45541L-004 Rev. A
^B8
EAN-8 Bar Code
Description The ^B8 command is the shortened version of the EAN-13 bar code. EAN is
an acronym for European Article Numbering. Each character in the EAN-8 bar code is
composed of four elements: two bars and two spaces.
•
^B8 supports a fixed ratio.
• Field data (
^FD) is limited to exactly seven characters. ZPL II automatically pads or
truncates on the left with zeros to achieve the required number of characters.
• When using JAN-8 (Japanese Article Numbering), a specialized application of EAN-8,
the first two non-zero digits sent to the printer are always 49.
Format
^B8o,h,f,g
This table identifies the parameters for this format:
Important • If additional information about the EAN-8 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
g = print
interpretation
line above code
Accepted Values:
N = no
Y = yes
Default Value: N