61
4 Barcodes
The CVCC provides the capability to print several standard barcode styles
with or without accompanying human-readable characters. All barcode
encoding algorithms reside in the printer. The user needs to only send the
Barcode Command followed by the data to encode, and the printer will do the
rest. The Barcode styles included in the CVCC are:
• Code 39
• Code 128
• Interleaved 2 of 5
• UPC A
• UPC E
• EAN
• Codabar
• Identicon 2 of 5
• MSI
• Postnet
Barcodes may be printed in all of the four standard orientations (in Version 2
only), with or without human-readable character translation in any of the
available fonts, and at any height ranging from 0.3 to 9.9 inches. In addition,
many of the above styles are available with or without check digits and all
allow adjustment of bar/space ratios.
To print a barcode, the Barcode Command followed by the data to be
encoded must be sent to the printer as part of a Graphics Pass. When the
printer receives the Barcode Command, it first verifies that the data sent
adheres to the established specifications for that barcode. If the data does not
meet the specifications, the printer will print out the Barcode Command and
data as an error message.
Some barcodes have a fixed number of digits: UPC and EAN, for instance. If
less than the fixed number of digits is specified, the printer pads to the fixed
number of digits with zeros on the left of the data. If more than the fixed
number of digits is specified, the number is truncated and the remaining digits
on the right are ignored.