5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
210
Chapter 3 Bar Codes
When Type Code Q, c, or d is selected, 10 data
characters are expected; the first five characters
are vendor number data, and the next five
characters are product code data. The +2 (Type
Code c) and +5 (Type Code d) add-on data is
unaffected by the compression of the first 10 data
characters. The first 10 characters of the data field
are automatically modified and compressed down
to 6 data characters based on the syntax of the
vendor number and product code. The rules for
compressing data are described below:
a. If the vendor number ends in 000, 100, or 200,
the 6 data characters are: the first 2 vendor
numbers, the last 3 product code numbers,
and the third vendor number.
b. If the vendor number ends in 00, the 6 data
characters are: the first 3 vendor numbers, the
last 2 product code numbers, and the digit “3”.
c. If the vendor number ends in 0, the 6 data
characters are: the first 4 vendor numbers, the
last product code number, and the digit “4”.
d. In all other cases, the 6 data characters are:
the first 5 vendors numbers and the last
product code number.
For example, if the Type Q data field was input as
1232000001, it would be compressed down to 6
characters to read 123214: the first four vendor
numbers (1232) are followed by the last product
code number (1), and followed by the digit 4,
resulting in 123214.
When Type Codes R, e, or f are selected, the Code
V assumes you have already compressed the first
10 data characters down to 6 characters. The +2
(Type Codes c and e) and +5 (Type Codes d and f)
add-on data is unaffected by the compression of
the first 10 data characters. The bar code encodes
exactly 6 digits.
Note that Type R, Type e, and Type f are UPC-E0
bar codes using encoding tables for 0 number
system characters.
(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.