UPC-E (Universal Product Code version E) is the short form
representation of a UPC A. There may be 2-digit or 5-digit
Supplement to UPC.
UPC-E compression rule from UPC-A
Not all UPC-A numbers can be compressed to UPC-E. These codes who
have a corresponding UPC-E code must have at least 4 zeros. The
rules are:
-
If the manufacturer code ends with 000, 100, or 200, the UPC-E
code consists of the first two characters of the manufacturer
code, the last three characters of the product code, followed by
the third character of the manufacturer code. Under this case,
The product code must be 00000 and 00999.
-
If the manufacturer code ends with 00 but does not meet the #1
requirement, The UPC-E code consists of the first three
characters of the manufacturer code, the last two characters of
the product code, followed by digit “3”. The product code can
only contain two digits(00000 to 00099).
-
If the manufacturer code ends in 0 but non of the above
qualifies, the UPC-E consists of the first four digits
manufacturer code and the last digit of the product code,
followed by the digit “4”. The product code in this case can
only contain one digit(00000 to 00009).
-
If the manufacturer code ends with non-zero digit, the UPC-E
code consists of the manufacturer code and the last digit of the
product code. In this case the product case can only be one from
00005 to 00009 because 0 to 4 has been used for the above four
cases.
Structure of an UPC-E number
A UPC-E barcode has 6 digits with an implied number system 0. The
first 5 digits are calculated based on a conversion algorithm
described below. The last digit is the check digit of the original
UPC-A symbol.
UPC-E Properties
Besides the properties to general barcode, the following property
belongs to UPC-E:
SupplementarySeparation gets or sets the
space between the end of barcode and the begin of supplementary for
UPC/EAN in Inches. Default is 0.2 inches.
UPC-E Check Sum
UPC-E check digit is calculated using standard Mod10 method.
ezBarcode UPC-E Acceptable String Length
ezBarcode UPC-E can accept 6, 7, 8, 11, 12, 13, 14, 16, 17 digit
length.
If the CodeData is 6 digits, a leading 0 will be added to the
CodeData.
If the CodeData is 8 digits, the first 7 digits will be used for
UPC-E.
Copyright 2008,
halfpricesoft.com
All Rights Reserved