5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual

UPC-E
209
ratio
Optional parameter (used in conjunction with 9)
representing the ratios for variable ratio bar codes.
Default ratios are overridden by the variable ratio
feature. However, unique variable ratios for UPC-E
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-E 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. Depending on the UPC-E bar
code selected from Table 39, the Code V expects a
specific number of data characters to be provided.
The characters available for the data field are 0
through 9 (hex 30 through 39, respectively).
Table 39. UPC-E Bar Codes
Description
Standard
Type Code
IBARC, Type
Code
# of Data
Characters
Expected
Number
System
Used
Default Bar/
Space Ratios*
UPC-E Q UPCE 10* 0 1:1:2:2:3:3:4:4
UPC-E0 R UPCE0 6 0 1:1:2:2:3:3:4:4
UPC-E+2 c UPCE+2 12* 0 1:1:2:2:3:3:4:4
UPC-E+5 d UPCE+5 15* 0 1:1:2:2:3:3:4:4
UPC-E0+2 e UPCE0+2 8 0 1:1:2:2:3:3:4:4
UPC-E0+5 f UPCE0+5 11 0 1:1:2:2:3:3:4:4
*Type Codes Q (UPCE), c (UPCE+2), and d (UPCE+5) compress the data characters down to
6 by applying specific rules according to the syntax of the vendor number data. Refer to the
data
description.