5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
Code 128
161
Code 128 Examples
The following command generates the horizontal default ratio Code 128 bar
code below in the automatic mode. In the command sequence, graphics
mode data is
italicized
and bar code data is boldface. Refer to the
“Commands” chapter for a detailed description of alphanumeric commands.
^PY^-^M10,10,000^KF^
BNZABC123456^G^
KF^-^PN^-
^PY^- enabled the graphics command sequence. ^M introduced the standard
alphanumeric command. The character height selected was 1.0 inches and
character width was selected at 1.0 inches. A 0.0 justification value plus 0
additional dots was selected for data placement. ^KF activated Dark Print. ^B
introduced the bar code command. N deselected printing the optional
readable data field. Letter Z selected Code 128. ABC123456 is the bar code
data, and ^G terminated the bar code command sequence. ^KF^- at the end
of the bar code sequence turned off Dark Print, and ^PN^- terminated the
graphics mode.
The following command generated the Code 128 bar code below in the
automatic mode using standard 10 cpi font, double the default ratio, and data
of ABC123456. The bar code data begins in subset B and automatically
switches to subset C for the numeric data.
^PY^-^M10,10,000^KF^
BY9Z22446688ABC123456^G^
KF^-^PN^-