5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
Code 128
159
If the : parameter is specified, the ratios are
represented in printer dots instead of IGP dots
(60 x 72 dpi).
Z Type code for Code 128. Enter Z.
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.
Code 128 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.
For
example, enter 22446688 in the ratio data field for:
2 module wide bar
2 module wide space
4 module wide bar
4 module wide space
6 module wide bar
6 module wide space
8 module wide bar
8 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. In the automatic mode,
whenever a string of 4 or more contiguous numeric
digits are detected, the Code V inserts a subset C
command at the start of the numeric string. When
the string of numeric digits is broken, the Code V
inserts a subset B command. Code 128 encodes
from 1 through 40 characters from the character set
of the subset code selected. Use the appropriate
subset code from the Code 128 Character Set in
Table 26.
When data is provided in the manual mode, the
readable data field is not printed.
(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.