Specifications

Fonts and Bar Codes
Bar Codes
360
45541L-004 Rev. A ZPL II Programming Guide 9/15/06
Additionally, each bar code field command can be issued with a definition parameter string.
The parameter string defines field rotation, height, and interpretation line status for all bar
codes. For some bar codes, the parameter string also sets a check digit, start character, and/or
stop character. Use the definition parameter string to command the printer to print bar codes of
appropriate heights and densities that conform to the specifications of the application.
The use of the parameter string is optional because all parameters have default values. If the
default values for all of the bar code parameters suit the application, then only the bar code
command needs to be entered.
Parameters in bar code field commands are “position specific.” If a value (other than the
default value) is manually entered for one parameter, a comma , the ZPL II delimiter
character, must be used to mark the position of the preceding parameters in the string.
To change just the third parameter, enter two commas and then the value for the third
parameter. The default values will be automatically used for the first and second parameters.
In the ZPL II Programming Guide Volume Two, see the Saving Label Formats as Graphic
Images topic in the Programming Exercises chapter, the ^B3 bar code field command has five
parameters. The third parameter defines the height of the bar in dots. The bar code is to be
printed using default values for the first two parameters EXCEPT the height of the bar. This is
to be 20 dots. Finally, the “N” indicates that a print interpretation line will not print with the
bar code. The command would be entered as follows:
^B3,,20,N
Delimiters (commas) are not required for parameters between a manually entered value and
the end of the parameter string.
Bar Code Command Groups
Bar code commands are organized into four groups. Each group represents a type of bar code.
Table 19 through Table 22 identify the groups and the bar codes they contain:
^BM MSI [2.0 - 3.0]
^BP Plessey [2.0 - 3.0]
^BQ QR Code (*) [Fixed]
^BS UPC/EAN Extensions (*) [Fixed]
^BU UPC-A (*) [Fixed]
^BX Data Matrix (*) [Fixed]
^BZ PostNet (*) [Fixed]
Table 18 • Bar Code Field Commands (Continued)
Table 19 • Numeric Only Bar Codes
^B1 Code 11
^B2 Interleaved 2 of 5
^BI Industrial 2 of 5