HP LineJet Printers - QMS Code V Technical Reference Manual, 171251-001PX

214
Chapter 3 Bar Codes
type
Represents the bar code type. Enter P for standard
UPC-A; enter a for UPC-A plus a 2-digit add-on
data field; enter b for UPC-A plus a 5-digit add-on
data field; enter 0 for UPC-A 80%; enter 1 for UPC-
A 100%.
ratio
Optional parameter (used in conjunction with 9
above) representing the ratios for variable ratio bar
codes. Default ratios are overridden by the variable
ratio feature. However, unique variable ratios for
UPC-A bar codes easily generate large, out-of-
spec bar codes. Ratio data must be hexadecimal
numbers from 0 through 9 or A through F; the Code
V automatically checks the input for validity. If an
invalid character is found in the ratio, an error
message is generated.
UPC-A bar codes use eight-digit ratios. The ratios
are interpreted from left to right, measuring the size
of each bar or space, in dot width, in the following
pattern:
1 module wide bar : 1 module wide space :
2 module wide bar : 2 module wide space : 3
module wide bar : 3 module wide space : 4 module
wide bar : 4 module wide space.
The Code V automatically checks ratio data for validity only within the
allowable hexadecimal range. The Code V does not verify that ratio data
creates acceptable bar/space element relationships for bar code readability.
When designing unique ratio data, carefully plot bar/space ratios to conform
to readable bar codes.
data
The bar code data. UPC-A bar codes encode
exactly 11 digits. The first character is interpreted
as the number system character. The next five
characters are the left half of the vendor number
data (on the upper side of vertically oriented
symbols). The final five characters comprise the
right half of the product number data (on the lower
side of vertically oriented symbols). A twelfth
character is an automatic check digit which is
computed and printed in the last character position
at the end of the product number data. If the 2- or 5-
digit add-on data field is used, include this data at
the end of the data field. The characters available
for the data field are 0 through 9 (30 through 39
hex, 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.