Chapter 5 Barcodes
5-12
Printing a Two-dimensional Barcode
XBAR, XBCP, XBUF, and ENDB commands support two-dimensional barcode printing.
Each command does the following to put data together for printing a barcode.
Functions of XBCP
The mode parameter in XBCP command format identifies the various functions as listed
below. These commands are detailed in the PRESCRIBE Commands Command
Reference.
XBAR Prints a two-dimensional barcode from the given data string. Must
be followed by an ENDB command.
XBCP Specifies various options for the barcode to be printed using XBAR
depending on the mode following the command (0 through 19). See
Macro PDF417 on page 14.
XBUF Defines a buffer name for a data input for XBAR command.
ENDB Terminates a XBAR command sequence.
XBCP mode Meaning
XBCP 0 Reset
XBCP 1 Narrowest element width
XBCP 2 Error correction (by percentage)
XBCP 3 Error correction (by predetermined level)
XBCP 4 Number of rows
XBCP 5 Number of columns
XBCP 6 Aspect ratio of height and width
XBCP 7 Bar height by a ratio of element width
XBCP 8 Number of rows and columns (XBCP 4 and 5)
XBCP 9 Truncation
XBCP 10 through 19 These modes give additional control options used to support Macro
PDF417 barcodes. See more details in section Macro PDF417.