The first check digit is generated using the IBM-modulo-11
algorithm, the second using the IBM modulo-10 algorithm. The
first check digit equals 11 minus the remainder. Exception
condition EC-0E00 exists if the first check-digit calculation
results in a value of 10.
X’03’
UPC/CGPC
Version A
(BCD1)
X’00’
Print the standard UPC-A bar code with a generated check digit.
The data to be encoded consists of eleven digits. The first digit is
the number-system digit; the next 10 digits are the article
number.
X’05’
UPC/CGPC
Version E
(BCD1)
X’00’
Print a UPC-E bar code symbol. Of the 10 input digits, six digits
are encoded. The check digit is generated using all 10 input data
digits. The check digit is not encoded; it is used only to assign
odd or even parity to the six encoded digits.
X’06’
UPC 2-Character
(Two-digit)
Supplemental
(Periodicals)
(BCD1)
X’00’
X’01’
X’02’
Print a UPC two-digit supplemental bar code symbol (bar/space
pattern and HRI). This option assumes that the base UPC
Version A or E symbol is presented as a separate bar code
object. The bar and space patterns used for the two supplemental
digits are left-odd or left-even parity, with the parity determined
by the digit combination.
The two-digit UPC supplemental bar code symbol is
preceded by a UPC Version A, Number System 0, bar
code symbol. The bar code object contains both the UPC
Version A symbol and the two-digit supplemental symbol. The
input data consists of the number system digit, the ten-digit
article number, and the two supplement digits, in that order. A
check digit is generated for the UPC Version A symbol. The
two-digit supplemental bar code is presented after the UPC
Version A symbol using left-hand odd and even parity as
determined by the two supplemental digits.
The two-digit UPC supplemental bar code symbol is preceded
by a UPC Version E symbol. The bar code object contains both
the UPC Version E symbol and the two-digit supplemental
symbol. The input data consists of the ten-digit article number
and the two supplemental digits. The bar code object processor
generates the six-digit UPC Version E symbol and a check digit.
The check digit is used to determine the parity pattern of the six-
digit Version E symbol. The two-digit supplemental bar code
symbol is presented after the Version E symbol using left-hand
odd and even parity as determined by the two digits.
X’07’
UPC 5-Character
(Five-digit)
X’00’
Print the UPC five-digit supplemental bar code symbol
(bar/space pattern and HRI).