5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
UPC-E
211
UPC-E Examples
The following command generated the horizontal default ratio UPC-E bar
code 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^
BYR123456^G^
KF^-^PN^-
^PY^- turned on 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 R selected
the 6-digit, number system 0 UPC-E bar code type. 123456 is the 6-digit bar
code data (the first character, 1, is the number system character), 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 vertical UPC-E bar code below using
standard 10 cpi font with the standard default ratio and data of 123456:
^PY^-^M10,10,000^KF^
CYR123456^G^
KF^-^PN^-