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

176
Chapter 3 Bar Codes
If the : parameter is specified, the ratios are
represented in printer dots instead of IGP dots
(60 x 72 dpi).
type
Represents the bar code type. Select one of the
Interleaved 2/5 codes shown in Table 32.
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. The 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.
Interleaved 2/5 bar codes use four-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:
narrow bar : narrow space : wide
bar : wide space.
For example, enter 2266 in the
ratio parameter for:
2 dot-wide narrow bar
2 dot-wide narrow space
6 dot-wide wide bar
6 dot-wide 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 wide/narrow element relationships for bar code
readability. For example, the Code V accepts wide/narrow ratio values of 2
and 5, respectively; however, a narrow element larger than the wide element
produces an unreadable bar code. When designing unique ratio data,
carefully plot wide and narrow ratios to conform to readable bar codes.
Table 32. Interleaved 2/5 Bar Codes
Standard
Type Code
IBARC, Type
Code
# of Data
Characters
Check
Digits
Default Bar/
Space
Ratios*
K INT2/5 1-40 None 1:1:3:3
k INT2/5CD 1-40 Mod 10 1:1:3:3
L INT2/5A 1-40 None 1:2:4:5
l INT2/5CDA 1-40 Mod 10 1:2:4:5
*Ratios represent dot width of the bar/space elements as follows:
Narrow Bar : Narrow Space : Wide Bar : Wide Space
.