5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
EAN 8
165
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. Enter U for standard
EAN 8; enter o (lowercase alpha o) for EAN 8 plus
a 2-digit add-on data field; enter p for EAN 8 plus a
5-digit add-on data field.
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
EAN 8 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.
EAN 8 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. Standard EAN 8 bar codes
encode exactly 7 digits. The first four data
characters are in the left half of the data field, and
the last 3 characters are in the right half of the data
field. (A check digit is automatically computed and
printed at the end of the right data field). 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 (hex 30 through 39, respectively).
(cc)G Terminates the bar code command. Enter the
SFCC for your Code V configuration followed by
any valid command character or G, the universal
sequence terminator.