Disable All Advertising
EAN-130012200001787   EAN-13 barcode 0012200001787
UPC-A012200001787   UPC-A barcode 012200001787
UPC-E01217827   UPC-E barcode 01217827
Product NameFountain Pen
Created09-18-2014 5:09:26pm
Modified06-08-2021 11:36:22am
MD5527e68719a74984c2207db168c81d73f
SHA256612212fda6168b4889c322b764e7368520d9489ba152758dcee2e0a295b0e025
Search Googleby EAN or by Title
Query Time0.0074701

An article of interest

The Main EANData blog

Code 128 Barcodes

Code 128 is a high-density 1D barcode symbology. This barcode set makes use of the entire 128 ASCII characters which include letter, number and symbols.

Code 128 Barcode

As with all barcodes, there are indicators to identify where the barcode starts and stops. These are marked in yellow below. Code 128 also has a check character which has been marked in green. The remainder of the barcode is the data being encoded. The text below the barcode is optional and is for human consumption in the event the barcode can't be scanned or if people also need to know what the code means.

Code 128 Barcode

Each character in the barcode symbol is composed of three bars and three spaces. Each bar or space must range from 1-4 units and the sum of all the width of all bars must work out to an even number. The stop marker is special because it adds an extra bar of 2 units at the very end (4 bars and 3 spaces). There are three different start markers to to identify which code set is being used. To represent all 128 characters, the code sets can be within a single barcode as needed by using control characters 98-101 (depending on the code set).

The check character is calculated by summing the value of each character and multiplying it by its position. The start character is also part of the sum but is added without weight (multiply by 1 just like the first encoded data character) then when you have the sum take the modulo 103 remainder. This gets a little more complex when mixing modes within a single barcode.