Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Encoding  





2 References  














EAN-2







Add links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

(Redirected from EAN 2)

ISSN with an EAN-2 addon representing issue number 5.

The EAN-2 is a supplement to the EAN-13 and UPC-A barcodes. It is often used on magazines and periodicals to indicate an issue number.

Encoding

[edit]

The encoding of EAN-2 characters is very similar to that of the other European Article Numbers. The only difference is that the digits are separated by 01. The EAN-2 always begins with "01011". Also, the R-Code is not used.

Encoding of the digits
Digit L-code G-code
0 0001101 0100111
1 0011001 0110011
2 0010011 0011011
3 0111101 0100001
4 0100011 0011101
5 0110001 0111001
6 0101111 0000101
7 0111011 0010001
8 0110111 0001001
9 0001011 0010111

The structure of the barcode is based on the value of the two digit to be encoded. The two digits treated as a single two-digit number is reduced modulo 4 and used to find the parity pattern to be used. The parity pattern repeats every 4 values.

EAN-2 Parity
Data to encode Parity pattern
00 LL Encode as 0 from L table followed by 0 from L table
01 LG Encode as 0 from L table followed by 1 from G table
02 GL Encode as 0 from G table followed by 2 from L table
03 GG Encode as 0 from G table followed by 3 from G table
04 LL Encode as 0 from L table followed by 4 from L table
05 LG Encode as 0 from L table followed by 5 from G table
06 GL Encode as 0 from G table followed by 6 from L table
07 GG Encode as 0 from G table followed by 7 from G table
... ...
98 GL Encode as 9 from G table followed by 8 from L table
99 GG Encode as 9 from G table followed by 9 from G table
Example - encoding 53
Start 5 (L) Separator 3 (G)
01011 0110001 01 0100001

References

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=EAN-2&oldid=1167028719"

Category: 
Barcodes
 



This page was last edited on 25 July 2023, at 07:04 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki