Specifications

ZPL Commands
^B5
30
45541L-004 Rev. A ZPL II Programming Guide 9/15/06
^B5
Planet Code bar code
Description The ^B5 command is supported in all printers as a resident bar code.
Format ^B5o,h,f,g
This table identifies the parameters for this format:
Note • Accepted bar code characters are 0 - 9.
Parameters Details
o = orientation code Accepted Values:
N = normal
R = rotated
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 9999
Default Value: value set by ^BY
f
= interpretation
line
Accepted Values:
N = no
Y = yes
Default Value: N
g = determines if the
interpretation
line is printed
above the bar
code
Accepted Values:
N = no
Y = yes
Default Value: N
Example • This is an example of a Planet Code bar code:
^XA
^FO150,100^BY3
^B5N,100,Y,0
^FD12345678901^FS
^XZ
ZPL II CODE
GENERATED LABEL