SlideShare a Scribd company logo
1 of 14
Download to read offline
UPC/UPC-A/UPC-E &
EAN Barcode Symbology
Version:v1.1
Crifan Li
Abstract
This article explains the details of UPC symbology and other related UPC-A, UPC-E and EAN.

This article provide multiple formats:
Reading Online

HTML

1

HTMLs

2

PDF

3

CHM

4

TXT

5

RTF

6

Download(7Zip package)

HTML

7

HTMLs

8

PDF

9

CHM

10

TXT

11

RTF

12

HTML version online address:
http://www.crifan.com/files/doc/docbook/symbology_upc/release/html/symbology_
upc.html
Any question or bug report are encouraged to post in the discussion group:
http://www.crifan.com/bbs/categories/symbology_upc/

Revision History
Revision 1.0

2011-07-12

crl

1. explain the UPC and related UPC-A, UPC-E and EAN symboloy
Revision 1.1

2012-08-09

crl

1. Release via Docbook

1

http://www.crifan.com/files/doc/docbook/symbology_upc/release/html/symbology_upc.html
http://www.crifan.com/files/doc/docbook/symbology_upc/release/htmls/index.html
3
http://www.crifan.com/files/doc/docbook/symbology_upc/release/pdf/symbology_upc.pdf
4
http://www.crifan.com/files/doc/docbook/symbology_upc/release/chm/symbology_upc.chm
5
http://www.crifan.com/files/doc/docbook/symbology_upc/release/txt/symbology_upc.txt
6
http://www.crifan.com/files/doc/docbook/symbology_upc/release/rtf/symbology_upc.rtf
7
http://www.crifan.com/files/doc/docbook/symbology_upc/release/html/symbology_upc.html.7z
8
http://www.crifan.com/files/doc/docbook/symbology_upc/release/htmls/index.html.7z
9
http://www.crifan.com/files/doc/docbook/symbology_upc/release/pdf/symbology_upc.pdf.7z
10
http://www.crifan.com/files/doc/docbook/symbology_upc/release/chm/symbology_upc.chm.7z
11
http://www.crifan.com/files/doc/docbook/symbology_upc/release/txt/symbology_upc.txt.7z
12
http://www.crifan.com/files/doc/docbook/symbology_upc/release/rtf/symbology_upc.rtf.7z
2
UPC/UPC-A/UPC-E & EAN Barcode Symbology:
Crifan Li

Version:v1.1
Publication date 2012-08-09
Copyright Β© 2012 Crifan, http://crifan.com
This article conform to:Attribution-NonCommercial 2.5 Generic (CC BY-NC 2.5)

13

13

http://www.crifan.com/files/doc/docbook/soft_dev_basic/release/html/soft_dev_basic.html#cc_by_nc
Table of Contents
1. Plessey ................................................................................................................................ 1
1.1. Barcode Basic Knowledge ........................................................................................ 1
1.2. What is UPC ............................................................................................................ 1
1.3. Application Field ...................................................................................................... 1
1.4. Example ................................................................................................................... 1
1.5. Technical Detail ........................................................................................................ 2
1.5.1. Bit Pattern of Digit ........................................................................................ 2
1.5.1.1. Mirrored Bit Pattern Design ................................................................ 3
1.5.2. Check Digit Calculation ................................................................................. 3
1.5.3. Prefixes .......................................................................................................... 3
2. Zero-Compressed UPC β‡’ UPC-E ........................................................................................ 5
3. Printing Considerations ...................................................................................................... 7
3.1. Dimensions .............................................................................................................. 7
3.2. Quiet Zone (Light Margin) ....................................................................................... 7
3.3. Barcode Text ............................................................................................................ 7
4. EAN & IAN, EAN-13 & JAN, GTIN, EAN-8, EAN2 & EAN5 .................................................. 8
4.1. EAN, IAN .................................................................................................................. 8
4.2. EAN-13, JAN ............................................................................................................ 8
4.3. GTIN ......................................................................................................................... 8
4.4. EAN-8 ....................................................................................................................... 8
4.5. EAN2 & EAN5 .......................................................................................................... 8
4.6. Relation between UPC EAN GS1 GTIN ..................................................................... 8
Bibliography .......................................................................................................................... 10

iii
List of Figures
1.1. UPC Barcode Format ....................................................................................................... 1
2.1. MSI exapmle 01234567 mode 10 .................................................................................... 6
4.1. Relation between UPC EAN GS1 GTIN ............................................................................. 9

iv
Chapter 1. Plessey
1.1. Barcode Basic Knowledge
1. Bar
bit 1, the vertical black line, called black bar or bar or dark bar.
2. Space
bit 0, the vertical white line/space area, called white space or space or light space

1.2. What is UPC
The UPC is Universal Product Code, is a barcode symbology.
The UPC is called, UPC-A.

1.3. Application Field
UPC is widely used in Canada and the United States for tracking trade items in stores

1.4. Example
Figure 1.1. UPC Barcode Format

1
Plessey

1.5. Technical Detail
The UPC has only numerals (digital number), without letters (such as β€˜A’, β€˜B’,… ) or other
(control / function ) characters.
Total 12 decimal digits, its format/syntax is:
SLLLLLLMRRRRRRE
In which:
1. S – Start, E – End
fixed bit pattern 101
2. M – Middle
fixed bit pattern 01010, called guard bars
3. L – Left, R - Right
both have 6 digits, each digit is a 7 bits code
So, total bits = S + L + M + R +E = 3 + 7 * 6 + 5 + 7 * 6 + 3 = 95 bits
Since S, M, and E all include two bars, and each of the 12 digits of the UPC-A barcode consists
of two bars and two spaces, all UPC-A barcodes consist of exactly (3 Γ— 2) + (12 Γ— 2) = 30 bars.
For left digits and right digits:
The first digit L is the prefix.
The last digit R is an error correcting check digit, allowing some errors in scanning or manual
entry to be detected.
UPC data structures are a component of GTINs (Global Trade Item Numbers). All of these data
structures follow the global GS1 standards.

1.5.1. Bit Pattern of Digit
The bar-and-space patterns for each digit 0–9 are as follows:
Digit

L Pattern

R Pattern

Widths

0

0001101

1110010

3211

1

0011001

1100110

2221

2

0010011

1101100

2122

3

0111101

1000010

1411

4

0100011

1011100

1132

5

0110001

1001110

1231

6

0101111

1010000

1114

7

0111011

1000100

1312

8

0110111

1001000

1213

9

0001011

1110100

3112

bit pattern for each numeral is designed to be as little like the others as possible, and to have
no more than four consecutive 1s or 0s in order -> more easy to read and recognize it.
2
Plessey

1.5.1.1. Mirrored Bit Pattern Design
Numbers on the right side of the middle guard bars are optically the inverse of the numbers to
the left. In other words, while a number on the left side of the UPC will be made up of black bars
and white spaces, the same number on the right side would be indicated by the inverse (what
was black on the left is now white and what was white is now black).
In the illustration above, the "4" digit (shown in detail) is 1011100 (bar Γ— 1, space Γ— 1, bar Γ—
3, space Γ— 2). If the "4" digit were on the left hand side it would be 0100011 (space Γ— 1, bar
Γ— 1, space Γ— 3, bar Γ— 2).
This inversion enables the bar code to be scanned from left-to-right or right-to-left. Left-side
digits consist of an even number of white space bits and an odd number of black bars. Right
side digits are the opposite. Using this difference, the scanning software knows if it read the
code the correct way or upside down.

1.5.2. Check Digit Calculation
In the UPC-A system, the check digit is calculated as follows:
1. Add the digits in the odd-numbered positions (first, third, fifth, etc.) together and multiply
by three.
2. Add the digits in the even-numbered positions (second, fourth, sixth, etc.) to the result.
3. Find the result modulo 10 (i.e. the remainder when divided by 10.. 10 goes into 58 5 times
with 8 leftover).
4. If the result is not zero, subtract the result from ten.
For example, a UPC-A barcode (in this case, a UPC for a box of tissues) 03600029145X" where
X is the check digit, X can be calculated by
1. adding the odd-numbered digits (0 + 6 + 0 + 2 + 1 + 5 = 14), multiplying by three (14 Γ—
3 = 42),
2. adding the even-numbered digits (42 + (3 + 0 + 0 + 9 + 4) = 58),
3. calculating modulo ten (58 mod 10 = 8),
4. subtracting from ten (10 - 8 = 2).
The check digit is thus 2.
This should not be confused with the real numeral "X" which stands for a value of 10 in modulo
11.

1.5.3. Prefixes
Prefix Value

Usage/ Application Field

0 , 1, 6, 7, 8

For most products

2

Reserved for local use (store/warehouse), for items sold by variable weight.
Variable-weight items, such as meats and fresh fruits and vegetables, are
assigned a UPC by the store, if they are packaged there. In this case, the
LLLLL is the item number, and the RRRRR is either the weight or the price,
with the first R determining which.

3

Drugs, by National Drug Code number. Pharmaceuticals in the U.S. have the
remainder of the UPC as their National Drug Code (NDC) number; though

[1]

3
Plessey

Prefix Value

Usage/ Application Field
usually only over-the-counter drugs are scanned at point-of-sale, NDCbased UPCs are used on prescription drug packages as well for inventory
purposes

4

Reserved for local use (store/warehouse), often for loyalty cards or store
coupons

5

Coupons, The Manufacturer code is the LLLLL, the first 3 RRR are a family
code (set by manufacturer), and the next 2 RR are a coupon code. This 2digit code determines the amount of the discount, according to a table set
by the GS1 US, with the final R being the check digit. These coupons can
be doubled or tripled

9

Coupons, The Manufacturer code is the LLLLL, the first 3 RRR are a family
code (set by manufacturer), and the next 2 RR are a coupon code. This 2digit code determines the amount of the discount, according to a table
set by the GS1 US, with the final R being the check digit. These coupons
CANNOT be doubled or tripled

Note
1. By prefixing these with a 0, they become EAN-13 rather than UPC-A. This does
not change the check digit. All point-of-sale systems can now understand both
equally.

4
Chapter 2. Zero-Compressed UPC β‡’
UPC-E

To allow the use of UPC barcodes on smaller packages where a full 12-digit barcode may not
fit, a 'zero-compressed' version of UPC was developed called UPC-E.
This symbology differs from UPC-A in that it only uses a 6-digit code, does not use middle guard
bars, and the end bit pattern (E) becomes 010101.
The way in which a 6-digit UPC-E relates to a 12-digit UPC-A is determined by the last (righthand most) digit. With the manufacturer code represented by X's, and product code by N's then:
Last digit

UPC-E equivalent is

UPC-A equivalent is

0

XXNNN0

0XX000-00NNN + check

1

XXNNN1

0XX100-00NNN + check

2

XXNNN2

0XX200-00NNN + check

3

XXXNN3

0XXX00-000NN + check

4

XXXXN4

0XXXX0-0000N + check

5

XXXXX5

0XXXXX-00005 + check

6

XXXXX6

0XXXXX-00006 + check

7

XXXXX7

0XXXXX-00007 + check

8

XXXXX8

0XXXXX-00008 + check

9

XXXXX9

0XXXXX-00009 + check

For example a UPC-E barcode with the number 654321 would expand to the UPC-A
065100004327. You can convert UPC-E back to UPC-A using this web utility.
UPC-E check digits are calculated using this expanded string in the same way as used by UPC-A.
The resulting check digit is not added to the barcode, however, but is encoded by manipulating
the parity of the six digits which are present in the UPC-E - as shown in the following tables:
Check digit

Parity pattern

0

EEEOOO

1

EEOEOO

2

EEOOEO

3

EEOOOE

4

EOEEOO

5

EOOEEO

6

EOOOEE

7

EOEOEO

8

EOEOOE

9

EOOEOE

Digit to be Odd parity pattern
encoded

Even parity pattern

0

1-1-2-3

3-2-1-1

5
Digit to be Odd parity pattern
encoded

Zero-Compressed
UPC β‡’ UPC-E

Even parity pattern

1

2-2-2-1

1-2-2-2

2

2-1-2-2

2-2-1-2

3

1-4-1-1

1-1-4-1

4

1-1-3-2

2-3-1-1

5

1-2-3-1

1-3-2-1

6

1-1-1-4

4-1-1-1

7

1-3-1-2

2-1-3-1

8

1-2-1-3

3-1-2-1

9

3-1-1-2

2-1-1-3

Our example code 654321, therefore, would become 1-1-1 4-1-1-1 1-2-3-1 2-3-1-1 1-4-1-1
2-2-1-2 2-2-2-1 1-1-1-1-1-1. The resulting barcode would look roughly like this:

Figure 2.1. MSI exapmle 01234567 mode 10

6
Chapter 3. Printing Considerations
3.1. Dimensions
UPC-A Bar code symbols can be printed at various densities to accommodate a variety of
printing and scanning processes.
The significant dimensional parameter is called X-dimension, the ideal width of single module
element. The X-dimension has to be constant in UPC-A symbol. The width of each bar (dark
bar) and space (light bar) is determined by multiplying the X-dimension by the module width
of each dark bar or light bar (1,2,3, or 4).
The X-dimension for the UPC-A at the nominal size is 0.33 mm (0.013 in.). UPC-A can be reduced
or magnified in the range of 80% to 200%.
Nominal symbol height for UPC-A is 25.9 mm (1.0 in.). In UPC-A the dark bars forming the left,
centre, and right Guard Bar Patterns are extended downwards by 5 times X-dimension. This also
applies to the bars of the first and the last symbol characters of UPC-A symbol. See illustration.

3.2. Quiet Zone (Light Margin)
The minimum Quiet Zone width required by the UPC-A bar code symbol is 9 x X-dimension on
both the left and right sides. UPC-E requires 9 X-dimension units on the left side and 7 on the
right. (Source; UPC Symbol Specification Manual).

3.3. Barcode Text
Exactly 12 digits must be printed below the UPC-A barcode.

7
Chapter 4. EAN & IAN, EAN-13 &
JAN, GTIN, EAN-8, EAN2 & EAN5
4.1. EAN, IAN
EAN means "European Article Number", but now renamed IAN (International Article Number)
even though the abbreviation has been retained.
The EAN was developed as a superset of UPC, adding an extra digit to the beginning so that
there would be plenty of numbers for the entire world.

4.2. EAN-13, JAN
An EAN-13 barcode is a 13 digit (12 + check digit) barcoding standard which is a superset of
the original 12-digit UPC (Universal Product Code) system developed in the United States.
The EAN-13 barcode is defined by the standards organisation GS1.
The EAN-13 barcodes are used worldwide for marking products often sold at retail point of sale.
The numbers encoded in EAN-13 bar codes are product identification numbers, which are also
called Japanese Article Number (JAN) in Japan.

4.3. GTIN
All the numbers encoded in UPC and EAN barcodes are known as Global Trade Item Numbers
(GTIN), and they can be encoded in other GS1 barcodes.

4.4. EAN-8
An EAN-8 is a barcode and is derived from the longer European Article Number (EAN-13) code.
It was introduced for use on small packages where an EAN-13 barcode would be too large; for
example on cigarettes, pencils (though it is rarely used for pencils), and chewing gum packets.
EAN-8 barcodes may be used to encode GTIN-8s which are another set of product identifiers
from the GS1 System.
It begins with a 2- or 3-digit GS1 prefix (which is assigned to each national GS1 authority) 5- or 4digit item reference element depending on the length of the GS1 prefix), and a checksum digit.
EAN-8 codes are common throughout the world, and companies may also use them to encode
RCN-8s (8-digit Restricted Circulation Numbers) used to identify own-brand products sold only
in their stores. These are formatted as 0xxx xxxx or 2xxx xxxx.

4.5. EAN2 & EAN5
2-digit (EAN 2) and 5-digit (EAN 5) supplemental barcodes may be added for a total of 14 or
17 data digits. These are generally used for periodicals (to indicate the serial number), or books
and weighted products like food (to indicate the selling price), respectively.

4.6. Relation between UPC EAN GS1 GTIN
The relation between UPC, EAN, GS1, GTIN, can be illustrated by following figure:
8
EAN & IAN, EAN-13 & JAN,
GTIN, EAN-8, EAN2 & EAN5

Figure 4.1. Relation between UPC EAN GS1 GTIN

9
Bibliography
[1] Universal Product Code

1
2

[2] European Article Number
[3] EAN 8

1
2
3

3

http://en.wikipedia.org/wiki/Universal_Product_Code
http://en.wikipedia.org/wiki/EAN-13
http://en.wikipedia.org/wiki/EAN_8

10

More Related Content

What's hot

Application in comprog
Application in comprogApplication in comprog
Application in comprogMARKVILLAPLAZA
Β 
Manoch1raw 160512091436
Manoch1raw 160512091436Manoch1raw 160512091436
Manoch1raw 160512091436marangburu42
Β 
Lecture set 3
Lecture set 3Lecture set 3
Lecture set 3Gopi Saiteja
Β 
Representation of Real Numbers
Representation of Real NumbersRepresentation of Real Numbers
Representation of Real NumbersForrester High School
Β 
Vhdl introduction
Vhdl introductionVhdl introduction
Vhdl introductionVandanaPagar1
Β 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codesGargiKhanna1
Β 
Data representation computer architecture
Data representation  computer architectureData representation  computer architecture
Data representation computer architecturestudy cse
Β 
Bcd to excess 3 code converter
Bcd to excess 3 code converterBcd to excess 3 code converter
Bcd to excess 3 code converterUshaswini Chowdary
Β 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
Β 
As Level Computer Science Book -1
As Level Computer Science  Book -1As Level Computer Science  Book -1
As Level Computer Science Book -1DIGDARSHAN KUNWAR
Β 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversionsSusantha Herath
Β 
Error detection & correction codes
Error detection & correction codesError detection & correction codes
Error detection & correction codesRevathi Subramaniam
Β 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktMahiboobAliMulla
Β 
Lec 02 data representation part 1
Lec 02 data representation part 1Lec 02 data representation part 1
Lec 02 data representation part 1Abdul Khan
Β 

What's hot (20)

Application in comprog
Application in comprogApplication in comprog
Application in comprog
Β 
Codes r005
Codes  r005Codes  r005
Codes r005
Β 
Introduction to Computing
Introduction to ComputingIntroduction to Computing
Introduction to Computing
Β 
Manoch1raw 160512091436
Manoch1raw 160512091436Manoch1raw 160512091436
Manoch1raw 160512091436
Β 
Codes
CodesCodes
Codes
Β 
Lecture set 3
Lecture set 3Lecture set 3
Lecture set 3
Β 
Representation of Real Numbers
Representation of Real NumbersRepresentation of Real Numbers
Representation of Real Numbers
Β 
Binary codes
Binary codesBinary codes
Binary codes
Β 
Vhdl introduction
Vhdl introductionVhdl introduction
Vhdl introduction
Β 
Error detection and correction codes
Error detection and correction codesError detection and correction codes
Error detection and correction codes
Β 
Data representation computer architecture
Data representation  computer architectureData representation  computer architecture
Data representation computer architecture
Β 
Bcd to excess 3 code converter
Bcd to excess 3 code converterBcd to excess 3 code converter
Bcd to excess 3 code converter
Β 
Csc 2313 (lecture 3)
Csc 2313 (lecture 3)Csc 2313 (lecture 3)
Csc 2313 (lecture 3)
Β 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
Β 
As Level Computer Science Book -1
As Level Computer Science  Book -1As Level Computer Science  Book -1
As Level Computer Science Book -1
Β 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
Β 
Meghna ppt.
Meghna ppt.Meghna ppt.
Meghna ppt.
Β 
Error detection & correction codes
Error detection & correction codesError detection & correction codes
Error detection & correction codes
Β 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
Β 
Lec 02 data representation part 1
Lec 02 data representation part 1Lec 02 data representation part 1
Lec 02 data representation part 1
Β 

Viewers also liked

Arm vs mips
Arm vs mipsArm vs mips
Arm vs mipscri fan
Β 
Virtualbox tutorial
Virtualbox tutorialVirtualbox tutorial
Virtualbox tutorialcri fan
Β 
Docbook dev note
Docbook dev noteDocbook dev note
Docbook dev notecri fan
Β 
Usb basic
Usb basicUsb basic
Usb basiccri fan
Β 
Usb hid
Usb hidUsb hid
Usb hidcri fan
Β 
Json tutorial
Json tutorialJson tutorial
Json tutorialcri fan
Β 
Dma pl08x analysis
Dma pl08x analysisDma pl08x analysis
Dma pl08x analysiscri fan
Β 
Cross compile
Cross compileCross compile
Cross compilecri fan
Β 
Symbology code128
Symbology code128Symbology code128
Symbology code128cri fan
Β 
Dma pl08x analysis
Dma pl08x analysisDma pl08x analysis
Dma pl08x analysiscri fan
Β 
Regular expression
Regular expressionRegular expression
Regular expressioncri fan
Β 
Crifanlib python
Crifanlib pythonCrifanlib python
Crifanlib pythoncri fan
Β 
Crifanlib csharp
Crifanlib csharpCrifanlib csharp
Crifanlib csharpcri fan
Β 
Symbology gs1128
Symbology gs1128Symbology gs1128
Symbology gs1128cri fan
Β 
Buy house
Buy houseBuy house
Buy housecri fan
Β 

Viewers also liked (15)

Arm vs mips
Arm vs mipsArm vs mips
Arm vs mips
Β 
Virtualbox tutorial
Virtualbox tutorialVirtualbox tutorial
Virtualbox tutorial
Β 
Docbook dev note
Docbook dev noteDocbook dev note
Docbook dev note
Β 
Usb basic
Usb basicUsb basic
Usb basic
Β 
Usb hid
Usb hidUsb hid
Usb hid
Β 
Json tutorial
Json tutorialJson tutorial
Json tutorial
Β 
Dma pl08x analysis
Dma pl08x analysisDma pl08x analysis
Dma pl08x analysis
Β 
Cross compile
Cross compileCross compile
Cross compile
Β 
Symbology code128
Symbology code128Symbology code128
Symbology code128
Β 
Dma pl08x analysis
Dma pl08x analysisDma pl08x analysis
Dma pl08x analysis
Β 
Regular expression
Regular expressionRegular expression
Regular expression
Β 
Crifanlib python
Crifanlib pythonCrifanlib python
Crifanlib python
Β 
Crifanlib csharp
Crifanlib csharpCrifanlib csharp
Crifanlib csharp
Β 
Symbology gs1128
Symbology gs1128Symbology gs1128
Symbology gs1128
Β 
Buy house
Buy houseBuy house
Buy house
Β 

Similar to Symbology upc

TM112 Meeting2-Binary data representation.pptx
TM112 Meeting2-Binary data representation.pptxTM112 Meeting2-Binary data representation.pptx
TM112 Meeting2-Binary data representation.pptxMohammedYusuf609377
Β 
Write the code in C, here is the template providedThe input used .pdf
Write the code in C, here is the template providedThe input used .pdfWrite the code in C, here is the template providedThe input used .pdf
Write the code in C, here is the template providedThe input used .pdfsales223546
Β 
Counting circuits
Counting circuitsCounting circuits
Counting circuitsEdmund Merren
Β 
DLD Chapter-1.pdf
DLD Chapter-1.pdfDLD Chapter-1.pdf
DLD Chapter-1.pdfTamiratDejene1
Β 
Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...ArtemKovera
Β 
Number system
Number systemNumber system
Number systemMohit Saini
Β 
Computer archi&mp
Computer archi&mpComputer archi&mp
Computer archi&mpMSc CST
Β 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAAiman Hud
Β 
chapter one && two.pdf
chapter one && two.pdfchapter one && two.pdf
chapter one && two.pdfmiftah88
Β 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf4NM21IS132SAISHARATH
Β 
Digital electronics(EC8392) unit- 1-Sesha Vidhya S/ ASP/ECE/RMKCET
Digital electronics(EC8392) unit- 1-Sesha Vidhya S/ ASP/ECE/RMKCETDigital electronics(EC8392) unit- 1-Sesha Vidhya S/ ASP/ECE/RMKCET
Digital electronics(EC8392) unit- 1-Sesha Vidhya S/ ASP/ECE/RMKCETSeshaVidhyaS
Β 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental Aman anand kumar
Β 
Number System[HEXADECIMAL].pptx
Number System[HEXADECIMAL].pptxNumber System[HEXADECIMAL].pptx
Number System[HEXADECIMAL].pptxMaheShiva
Β 

Similar to Symbology upc (20)

TM112 Meeting2-Binary data representation.pptx
TM112 Meeting2-Binary data representation.pptxTM112 Meeting2-Binary data representation.pptx
TM112 Meeting2-Binary data representation.pptx
Β 
Write the code in C, here is the template providedThe input used .pdf
Write the code in C, here is the template providedThe input used .pdfWrite the code in C, here is the template providedThe input used .pdf
Write the code in C, here is the template providedThe input used .pdf
Β 
Chapter 1: Binary System
 Chapter 1: Binary System Chapter 1: Binary System
Chapter 1: Binary System
Β 
Counting circuits
Counting circuitsCounting circuits
Counting circuits
Β 
DLD Chapter-1.pdf
DLD Chapter-1.pdfDLD Chapter-1.pdf
DLD Chapter-1.pdf
Β 
Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...
Β 
Number system
Number systemNumber system
Number system
Β 
Computer archi&mp
Computer archi&mpComputer archi&mp
Computer archi&mp
Β 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Β 
chapter one && two.pdf
chapter one && two.pdfchapter one && two.pdf
chapter one && two.pdf
Β 
Maths tips
Maths tipsMaths tips
Maths tips
Β 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
Β 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
Β 
Number Systems.pptx
Number Systems.pptxNumber Systems.pptx
Number Systems.pptx
Β 
Digital electronics(EC8392) unit- 1-Sesha Vidhya S/ ASP/ECE/RMKCET
Digital electronics(EC8392) unit- 1-Sesha Vidhya S/ ASP/ECE/RMKCETDigital electronics(EC8392) unit- 1-Sesha Vidhya S/ ASP/ECE/RMKCET
Digital electronics(EC8392) unit- 1-Sesha Vidhya S/ ASP/ECE/RMKCET
Β 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
Β 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
Β 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
Β 
Number System[HEXADECIMAL].pptx
Number System[HEXADECIMAL].pptxNumber System[HEXADECIMAL].pptx
Number System[HEXADECIMAL].pptx
Β 
Dpsd lecture-notes
Dpsd lecture-notesDpsd lecture-notes
Dpsd lecture-notes
Β 

More from cri fan

Scientific network summary
Scientific network summaryScientific network summary
Scientific network summarycri fan
Β 
Virutal machine tutorial
Virutal machine tutorialVirutal machine tutorial
Virutal machine tutorialcri fan
Β 
Usb disk driver
Usb disk driverUsb disk driver
Usb disk drivercri fan
Β 
Uboot starts analysis
Uboot starts analysisUboot starts analysis
Uboot starts analysiscri fan
Β 
Symbology plessey
Symbology plesseySymbology plessey
Symbology plesseycri fan
Β 
Soft dev basic
Soft dev basicSoft dev basic
Soft dev basiccri fan
Β 
Runtime upgrade linux
Runtime upgrade linuxRuntime upgrade linux
Runtime upgrade linuxcri fan
Β 
Rec soft npp
Rec soft nppRec soft npp
Rec soft nppcri fan
Β 
Python topic str_encoding
Python topic str_encodingPython topic str_encoding
Python topic str_encodingcri fan
Β 
Python topic re
Python topic rePython topic re
Python topic recri fan
Β 
Python summary
Python summaryPython summary
Python summarycri fan
Β 
Python intermediate tutorial
Python intermediate tutorialPython intermediate tutorial
Python intermediate tutorialcri fan
Β 
Python beginner tutorial
Python beginner tutorialPython beginner tutorial
Python beginner tutorialcri fan
Β 
Programming language basic
Programming language basicProgramming language basic
Programming language basiccri fan
Β 
Nand get type
Nand get typeNand get type
Nand get typecri fan
Β 
Mpeg vbr
Mpeg vbrMpeg vbr
Mpeg vbrcri fan
Β 
Linux wireless
Linux wirelessLinux wireless
Linux wirelesscri fan
Β 
Linux nand driver
Linux nand driverLinux nand driver
Linux nand drivercri fan
Β 
Language summary
Language summaryLanguage summary
Language summarycri fan
Β 
Interrupt related
Interrupt relatedInterrupt related
Interrupt relatedcri fan
Β 

More from cri fan (20)

Scientific network summary
Scientific network summaryScientific network summary
Scientific network summary
Β 
Virutal machine tutorial
Virutal machine tutorialVirutal machine tutorial
Virutal machine tutorial
Β 
Usb disk driver
Usb disk driverUsb disk driver
Usb disk driver
Β 
Uboot starts analysis
Uboot starts analysisUboot starts analysis
Uboot starts analysis
Β 
Symbology plessey
Symbology plesseySymbology plessey
Symbology plessey
Β 
Soft dev basic
Soft dev basicSoft dev basic
Soft dev basic
Β 
Runtime upgrade linux
Runtime upgrade linuxRuntime upgrade linux
Runtime upgrade linux
Β 
Rec soft npp
Rec soft nppRec soft npp
Rec soft npp
Β 
Python topic str_encoding
Python topic str_encodingPython topic str_encoding
Python topic str_encoding
Β 
Python topic re
Python topic rePython topic re
Python topic re
Β 
Python summary
Python summaryPython summary
Python summary
Β 
Python intermediate tutorial
Python intermediate tutorialPython intermediate tutorial
Python intermediate tutorial
Β 
Python beginner tutorial
Python beginner tutorialPython beginner tutorial
Python beginner tutorial
Β 
Programming language basic
Programming language basicProgramming language basic
Programming language basic
Β 
Nand get type
Nand get typeNand get type
Nand get type
Β 
Mpeg vbr
Mpeg vbrMpeg vbr
Mpeg vbr
Β 
Linux wireless
Linux wirelessLinux wireless
Linux wireless
Β 
Linux nand driver
Linux nand driverLinux nand driver
Linux nand driver
Β 
Language summary
Language summaryLanguage summary
Language summary
Β 
Interrupt related
Interrupt relatedInterrupt related
Interrupt related
Β 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
Β 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
Β 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
Β 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
Β 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
Β 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
Β 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
Β 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
Β 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
Β 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
Β 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
Β 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
Β 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
Β 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
Β 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
Β 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
Β 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
Β 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
Β 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
Β 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
Β 

Recently uploaded (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Β 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Β 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Β 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Β 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Β 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Β 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Β 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Β 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Β 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Β 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Β 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
Β 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
Β 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Β 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Β 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Β 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Β 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Β 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Β 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Β 

Symbology upc

  • 1. UPC/UPC-A/UPC-E & EAN Barcode Symbology Version:v1.1 Crifan Li Abstract This article explains the details of UPC symbology and other related UPC-A, UPC-E and EAN. This article provide multiple formats: Reading Online HTML 1 HTMLs 2 PDF 3 CHM 4 TXT 5 RTF 6 Download(7Zip package) HTML 7 HTMLs 8 PDF 9 CHM 10 TXT 11 RTF 12 HTML version online address: http://www.crifan.com/files/doc/docbook/symbology_upc/release/html/symbology_ upc.html Any question or bug report are encouraged to post in the discussion group: http://www.crifan.com/bbs/categories/symbology_upc/ Revision History Revision 1.0 2011-07-12 crl 1. explain the UPC and related UPC-A, UPC-E and EAN symboloy Revision 1.1 2012-08-09 crl 1. Release via Docbook 1 http://www.crifan.com/files/doc/docbook/symbology_upc/release/html/symbology_upc.html http://www.crifan.com/files/doc/docbook/symbology_upc/release/htmls/index.html 3 http://www.crifan.com/files/doc/docbook/symbology_upc/release/pdf/symbology_upc.pdf 4 http://www.crifan.com/files/doc/docbook/symbology_upc/release/chm/symbology_upc.chm 5 http://www.crifan.com/files/doc/docbook/symbology_upc/release/txt/symbology_upc.txt 6 http://www.crifan.com/files/doc/docbook/symbology_upc/release/rtf/symbology_upc.rtf 7 http://www.crifan.com/files/doc/docbook/symbology_upc/release/html/symbology_upc.html.7z 8 http://www.crifan.com/files/doc/docbook/symbology_upc/release/htmls/index.html.7z 9 http://www.crifan.com/files/doc/docbook/symbology_upc/release/pdf/symbology_upc.pdf.7z 10 http://www.crifan.com/files/doc/docbook/symbology_upc/release/chm/symbology_upc.chm.7z 11 http://www.crifan.com/files/doc/docbook/symbology_upc/release/txt/symbology_upc.txt.7z 12 http://www.crifan.com/files/doc/docbook/symbology_upc/release/rtf/symbology_upc.rtf.7z 2
  • 2. UPC/UPC-A/UPC-E & EAN Barcode Symbology: Crifan Li Version:v1.1 Publication date 2012-08-09 Copyright Β© 2012 Crifan, http://crifan.com This article conform to:Attribution-NonCommercial 2.5 Generic (CC BY-NC 2.5) 13 13 http://www.crifan.com/files/doc/docbook/soft_dev_basic/release/html/soft_dev_basic.html#cc_by_nc
  • 3. Table of Contents 1. Plessey ................................................................................................................................ 1 1.1. Barcode Basic Knowledge ........................................................................................ 1 1.2. What is UPC ............................................................................................................ 1 1.3. Application Field ...................................................................................................... 1 1.4. Example ................................................................................................................... 1 1.5. Technical Detail ........................................................................................................ 2 1.5.1. Bit Pattern of Digit ........................................................................................ 2 1.5.1.1. Mirrored Bit Pattern Design ................................................................ 3 1.5.2. Check Digit Calculation ................................................................................. 3 1.5.3. Prefixes .......................................................................................................... 3 2. Zero-Compressed UPC β‡’ UPC-E ........................................................................................ 5 3. Printing Considerations ...................................................................................................... 7 3.1. Dimensions .............................................................................................................. 7 3.2. Quiet Zone (Light Margin) ....................................................................................... 7 3.3. Barcode Text ............................................................................................................ 7 4. EAN & IAN, EAN-13 & JAN, GTIN, EAN-8, EAN2 & EAN5 .................................................. 8 4.1. EAN, IAN .................................................................................................................. 8 4.2. EAN-13, JAN ............................................................................................................ 8 4.3. GTIN ......................................................................................................................... 8 4.4. EAN-8 ....................................................................................................................... 8 4.5. EAN2 & EAN5 .......................................................................................................... 8 4.6. Relation between UPC EAN GS1 GTIN ..................................................................... 8 Bibliography .......................................................................................................................... 10 iii
  • 4. List of Figures 1.1. UPC Barcode Format ....................................................................................................... 1 2.1. MSI exapmle 01234567 mode 10 .................................................................................... 6 4.1. Relation between UPC EAN GS1 GTIN ............................................................................. 9 iv
  • 5. Chapter 1. Plessey 1.1. Barcode Basic Knowledge 1. Bar bit 1, the vertical black line, called black bar or bar or dark bar. 2. Space bit 0, the vertical white line/space area, called white space or space or light space 1.2. What is UPC The UPC is Universal Product Code, is a barcode symbology. The UPC is called, UPC-A. 1.3. Application Field UPC is widely used in Canada and the United States for tracking trade items in stores 1.4. Example Figure 1.1. UPC Barcode Format 1
  • 6. Plessey 1.5. Technical Detail The UPC has only numerals (digital number), without letters (such as β€˜A’, β€˜B’,… ) or other (control / function ) characters. Total 12 decimal digits, its format/syntax is: SLLLLLLMRRRRRRE In which: 1. S – Start, E – End fixed bit pattern 101 2. M – Middle fixed bit pattern 01010, called guard bars 3. L – Left, R - Right both have 6 digits, each digit is a 7 bits code So, total bits = S + L + M + R +E = 3 + 7 * 6 + 5 + 7 * 6 + 3 = 95 bits Since S, M, and E all include two bars, and each of the 12 digits of the UPC-A barcode consists of two bars and two spaces, all UPC-A barcodes consist of exactly (3 Γ— 2) + (12 Γ— 2) = 30 bars. For left digits and right digits: The first digit L is the prefix. The last digit R is an error correcting check digit, allowing some errors in scanning or manual entry to be detected. UPC data structures are a component of GTINs (Global Trade Item Numbers). All of these data structures follow the global GS1 standards. 1.5.1. Bit Pattern of Digit The bar-and-space patterns for each digit 0–9 are as follows: Digit L Pattern R Pattern Widths 0 0001101 1110010 3211 1 0011001 1100110 2221 2 0010011 1101100 2122 3 0111101 1000010 1411 4 0100011 1011100 1132 5 0110001 1001110 1231 6 0101111 1010000 1114 7 0111011 1000100 1312 8 0110111 1001000 1213 9 0001011 1110100 3112 bit pattern for each numeral is designed to be as little like the others as possible, and to have no more than four consecutive 1s or 0s in order -> more easy to read and recognize it. 2
  • 7. Plessey 1.5.1.1. Mirrored Bit Pattern Design Numbers on the right side of the middle guard bars are optically the inverse of the numbers to the left. In other words, while a number on the left side of the UPC will be made up of black bars and white spaces, the same number on the right side would be indicated by the inverse (what was black on the left is now white and what was white is now black). In the illustration above, the "4" digit (shown in detail) is 1011100 (bar Γ— 1, space Γ— 1, bar Γ— 3, space Γ— 2). If the "4" digit were on the left hand side it would be 0100011 (space Γ— 1, bar Γ— 1, space Γ— 3, bar Γ— 2). This inversion enables the bar code to be scanned from left-to-right or right-to-left. Left-side digits consist of an even number of white space bits and an odd number of black bars. Right side digits are the opposite. Using this difference, the scanning software knows if it read the code the correct way or upside down. 1.5.2. Check Digit Calculation In the UPC-A system, the check digit is calculated as follows: 1. Add the digits in the odd-numbered positions (first, third, fifth, etc.) together and multiply by three. 2. Add the digits in the even-numbered positions (second, fourth, sixth, etc.) to the result. 3. Find the result modulo 10 (i.e. the remainder when divided by 10.. 10 goes into 58 5 times with 8 leftover). 4. If the result is not zero, subtract the result from ten. For example, a UPC-A barcode (in this case, a UPC for a box of tissues) 03600029145X" where X is the check digit, X can be calculated by 1. adding the odd-numbered digits (0 + 6 + 0 + 2 + 1 + 5 = 14), multiplying by three (14 Γ— 3 = 42), 2. adding the even-numbered digits (42 + (3 + 0 + 0 + 9 + 4) = 58), 3. calculating modulo ten (58 mod 10 = 8), 4. subtracting from ten (10 - 8 = 2). The check digit is thus 2. This should not be confused with the real numeral "X" which stands for a value of 10 in modulo 11. 1.5.3. Prefixes Prefix Value Usage/ Application Field 0 , 1, 6, 7, 8 For most products 2 Reserved for local use (store/warehouse), for items sold by variable weight. Variable-weight items, such as meats and fresh fruits and vegetables, are assigned a UPC by the store, if they are packaged there. In this case, the LLLLL is the item number, and the RRRRR is either the weight or the price, with the first R determining which. 3 Drugs, by National Drug Code number. Pharmaceuticals in the U.S. have the remainder of the UPC as their National Drug Code (NDC) number; though [1] 3
  • 8. Plessey Prefix Value Usage/ Application Field usually only over-the-counter drugs are scanned at point-of-sale, NDCbased UPCs are used on prescription drug packages as well for inventory purposes 4 Reserved for local use (store/warehouse), often for loyalty cards or store coupons 5 Coupons, The Manufacturer code is the LLLLL, the first 3 RRR are a family code (set by manufacturer), and the next 2 RR are a coupon code. This 2digit code determines the amount of the discount, according to a table set by the GS1 US, with the final R being the check digit. These coupons can be doubled or tripled 9 Coupons, The Manufacturer code is the LLLLL, the first 3 RRR are a family code (set by manufacturer), and the next 2 RR are a coupon code. This 2digit code determines the amount of the discount, according to a table set by the GS1 US, with the final R being the check digit. These coupons CANNOT be doubled or tripled Note 1. By prefixing these with a 0, they become EAN-13 rather than UPC-A. This does not change the check digit. All point-of-sale systems can now understand both equally. 4
  • 9. Chapter 2. Zero-Compressed UPC β‡’ UPC-E To allow the use of UPC barcodes on smaller packages where a full 12-digit barcode may not fit, a 'zero-compressed' version of UPC was developed called UPC-E. This symbology differs from UPC-A in that it only uses a 6-digit code, does not use middle guard bars, and the end bit pattern (E) becomes 010101. The way in which a 6-digit UPC-E relates to a 12-digit UPC-A is determined by the last (righthand most) digit. With the manufacturer code represented by X's, and product code by N's then: Last digit UPC-E equivalent is UPC-A equivalent is 0 XXNNN0 0XX000-00NNN + check 1 XXNNN1 0XX100-00NNN + check 2 XXNNN2 0XX200-00NNN + check 3 XXXNN3 0XXX00-000NN + check 4 XXXXN4 0XXXX0-0000N + check 5 XXXXX5 0XXXXX-00005 + check 6 XXXXX6 0XXXXX-00006 + check 7 XXXXX7 0XXXXX-00007 + check 8 XXXXX8 0XXXXX-00008 + check 9 XXXXX9 0XXXXX-00009 + check For example a UPC-E barcode with the number 654321 would expand to the UPC-A 065100004327. You can convert UPC-E back to UPC-A using this web utility. UPC-E check digits are calculated using this expanded string in the same way as used by UPC-A. The resulting check digit is not added to the barcode, however, but is encoded by manipulating the parity of the six digits which are present in the UPC-E - as shown in the following tables: Check digit Parity pattern 0 EEEOOO 1 EEOEOO 2 EEOOEO 3 EEOOOE 4 EOEEOO 5 EOOEEO 6 EOOOEE 7 EOEOEO 8 EOEOOE 9 EOOEOE Digit to be Odd parity pattern encoded Even parity pattern 0 1-1-2-3 3-2-1-1 5
  • 10. Digit to be Odd parity pattern encoded Zero-Compressed UPC β‡’ UPC-E Even parity pattern 1 2-2-2-1 1-2-2-2 2 2-1-2-2 2-2-1-2 3 1-4-1-1 1-1-4-1 4 1-1-3-2 2-3-1-1 5 1-2-3-1 1-3-2-1 6 1-1-1-4 4-1-1-1 7 1-3-1-2 2-1-3-1 8 1-2-1-3 3-1-2-1 9 3-1-1-2 2-1-1-3 Our example code 654321, therefore, would become 1-1-1 4-1-1-1 1-2-3-1 2-3-1-1 1-4-1-1 2-2-1-2 2-2-2-1 1-1-1-1-1-1. The resulting barcode would look roughly like this: Figure 2.1. MSI exapmle 01234567 mode 10 6
  • 11. Chapter 3. Printing Considerations 3.1. Dimensions UPC-A Bar code symbols can be printed at various densities to accommodate a variety of printing and scanning processes. The significant dimensional parameter is called X-dimension, the ideal width of single module element. The X-dimension has to be constant in UPC-A symbol. The width of each bar (dark bar) and space (light bar) is determined by multiplying the X-dimension by the module width of each dark bar or light bar (1,2,3, or 4). The X-dimension for the UPC-A at the nominal size is 0.33 mm (0.013 in.). UPC-A can be reduced or magnified in the range of 80% to 200%. Nominal symbol height for UPC-A is 25.9 mm (1.0 in.). In UPC-A the dark bars forming the left, centre, and right Guard Bar Patterns are extended downwards by 5 times X-dimension. This also applies to the bars of the first and the last symbol characters of UPC-A symbol. See illustration. 3.2. Quiet Zone (Light Margin) The minimum Quiet Zone width required by the UPC-A bar code symbol is 9 x X-dimension on both the left and right sides. UPC-E requires 9 X-dimension units on the left side and 7 on the right. (Source; UPC Symbol Specification Manual). 3.3. Barcode Text Exactly 12 digits must be printed below the UPC-A barcode. 7
  • 12. Chapter 4. EAN & IAN, EAN-13 & JAN, GTIN, EAN-8, EAN2 & EAN5 4.1. EAN, IAN EAN means "European Article Number", but now renamed IAN (International Article Number) even though the abbreviation has been retained. The EAN was developed as a superset of UPC, adding an extra digit to the beginning so that there would be plenty of numbers for the entire world. 4.2. EAN-13, JAN An EAN-13 barcode is a 13 digit (12 + check digit) barcoding standard which is a superset of the original 12-digit UPC (Universal Product Code) system developed in the United States. The EAN-13 barcode is defined by the standards organisation GS1. The EAN-13 barcodes are used worldwide for marking products often sold at retail point of sale. The numbers encoded in EAN-13 bar codes are product identification numbers, which are also called Japanese Article Number (JAN) in Japan. 4.3. GTIN All the numbers encoded in UPC and EAN barcodes are known as Global Trade Item Numbers (GTIN), and they can be encoded in other GS1 barcodes. 4.4. EAN-8 An EAN-8 is a barcode and is derived from the longer European Article Number (EAN-13) code. It was introduced for use on small packages where an EAN-13 barcode would be too large; for example on cigarettes, pencils (though it is rarely used for pencils), and chewing gum packets. EAN-8 barcodes may be used to encode GTIN-8s which are another set of product identifiers from the GS1 System. It begins with a 2- or 3-digit GS1 prefix (which is assigned to each national GS1 authority) 5- or 4digit item reference element depending on the length of the GS1 prefix), and a checksum digit. EAN-8 codes are common throughout the world, and companies may also use them to encode RCN-8s (8-digit Restricted Circulation Numbers) used to identify own-brand products sold only in their stores. These are formatted as 0xxx xxxx or 2xxx xxxx. 4.5. EAN2 & EAN5 2-digit (EAN 2) and 5-digit (EAN 5) supplemental barcodes may be added for a total of 14 or 17 data digits. These are generally used for periodicals (to indicate the serial number), or books and weighted products like food (to indicate the selling price), respectively. 4.6. Relation between UPC EAN GS1 GTIN The relation between UPC, EAN, GS1, GTIN, can be illustrated by following figure: 8
  • 13. EAN & IAN, EAN-13 & JAN, GTIN, EAN-8, EAN2 & EAN5 Figure 4.1. Relation between UPC EAN GS1 GTIN 9
  • 14. Bibliography [1] Universal Product Code 1 2 [2] European Article Number [3] EAN 8 1 2 3 3 http://en.wikipedia.org/wiki/Universal_Product_Code http://en.wikipedia.org/wiki/EAN-13 http://en.wikipedia.org/wiki/EAN_8 10