User`s manual

A–18 Bar Codes
START and STOP codes
No CENTER code
Intercharacter gap not definable
Fixed length of eleven digits per complete symbol. The first character of
the data field is interpreted as the number system code and must always
equal 0. The next five digits represent the vendor number and the last
five represent the product number.
If more or less than eleven characters are used or if any of the characters
are illegal, an error message is printed.
Six of the eleven digits are encoded into the bar code symbol. These six
digits are taken from the eleven digit UPC input code as follows:
If the vendor number (the first five digits after the number system code)
ends in 000, 100, or 200, the product number (the second five digits)
must fall between 00000 and 00999. The six digits that make up the bar
code symbol are the first two characters of the vendor number, the last
three characters of the product number, and the third character of the
vendor number, in that order. Therefore, the sequence of digits taken is
1st, 2nd, 8th, 9th, 10th, 3rd.
If the vendor number ends in 300, 400, 500, 600, 700, 800, or 900, the
product number must fall between 00000 and 00099. The six digits that
make up the bar code are the first three characters of the vendor number,
the last two characters of the product number, then a 3. Therefore, the
sequence of digits taken is 1st, 2nd, 3rd, 9th, 10th, 3.
If the vendor number ends in 10, 20, 30, 40, 50, 60, 70, 80, or 90, the
product number must fall between 00000 and 00009. The six digits that
make up the bar code symbol are the first four characters of the product
number, followed by a 4. Therefore, the sequence of digits taken is 1st,
2nd, 3rd, 4th, 10th, 4.
If the vendor number does not end in a zero, the product number must
fall between 00005 and 00009. The six digits that make up the bar code
symbol are all five digits of the vendor number, followed by the product
numbers last character. Therefore, the sequence of digits taken is 1st,
2nd, 3rd, 4th, 5th, 10th.
If the digit input does not fall into one of the above four categories, it is
considered invalid and an error message is printed.