5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
182
Chapter 3 Bar Codes
data
The bar code data. MSI encodes from 1 through 13
characters. The available characters for the data
field are 0 through 9 (hex 30 through 39,
respectively).
(cc)G Terminates the bar code command. Enter the
SFCC for your Code V configuration immediately
followed by any valid command character or G, the
universal sequence terminator.
MSI Bar Code Examples
The following command generates the horizontal default ratio MSI bar code
shown below. 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^
BYH87654321^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 the data placement. ^KF activated Dark Print.
^B introduced the bar code command. Y selected the standard 10 cpi font to
print the optional readable data field. Letter H selected MSI bar code Type H,
which automatically appends two Mod 10 check digits to the bar code data.
87654321 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 horizontal MSI bar code below using
OCR-B font and double the default ratio:
^PY^-^M10,10,000^KF^
BB9X224487654321^G^
KF^-^PN^-