7265 Programmer’s Manual
53
Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar Codes
UPC-E (Style 14)
Ten digits must be entered as input. The first five represent a vendor number and the last five
represent a product number. Only 6 of the 10 input digits are encoded in the bar code symbol.
The six characters to be encoded in the symbol are determined as follows:
If the vendor number (first five digits) ends in 000, 100, or 200, then the product number (second
five digits) must be between 00000 and 00999. The six digits encoded are the first two characters
of the vendor number followed by the last three characters of the product number, followed by the
third character of the vendor number. (1st, 2nd, 8th, 9th, 10th, 3rd)
1. If the vendor number ends in 300, 400, 500, 600, 700, 800, or 900, then the product number
must be between 00000 and 00099. The six digits encoded are the first three characters of
the vendor number followed by the last two characters of the product number, followed by a
“3”. (1st, 2nd, 3rd, 9th, 10th, “3” )
2. If the vendor number ends in 10, 20, 30, 40, 50, 60, 70, 80, or 90, then the product number
must be between 00000 and 00009. The six digits encoded are the first four characters of the
vendor number followed by the last character of the product number, followed by a “4”. (1st,
2nd, 3rd, 4th, 10th, “4”)
3. If the vendor number does not end in zero, then the product number must be between 00005
and 00009. The six digits encoded are all five digits of the vendor number followed by the last
character of the product number. (1st, 2nd, 3rd, 4th, 5th, 10th)
1 Bars per character: 2 dark bars and 2 light bars
2 Character set: 0 through 9
3 Start/Stop characters: 2 dark bars and 1 light bar
4 Center character code: None
5 NULL character: Yes
6 Intercharacter gap: None
7 Characters per symbol: 10
8 Check digit: Automatically generated by the printer and used to check parity. It is
not encoded in the bar code symbol.
9 Delimiters: Space, comma, horizontal tab, hp_relative
10 HR characters (without guard bars): Currently selected font, special HR font,
special OCR-A/OCR-B font (120 DPI only) HR characters (with guard bars):
OCR-B font
11 CPI at default element widths: 7.2