Linear Barcodes

The one-dimensional symbologies: retail, logistics, pharmaceutical and GS1 formats, each with its input range, a PHP example and the rendered symbol.

One-dimensional symbologies, from the retail EAN and UPC family through CODE 39 and CODE 128 to the GS1 DataBar set. Each page gives the accepted input, a worked example and the symbol it produces.

49 Formats

FormatType tokenDescription
CODE 39C39CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.
CODE 39 with check characterC39+CODE 39 + CHECKSUM
CODE 39 ExtendedC39ECODE 39 EXTENDED
CODE 39 Extended with check characterC39E+CODE 39 EXTENDED + CHECKSUM
CODE 32 (Italian Pharmacode)C32CODE 32 (Italian Pharmacode - IMH - Radix 32)
CODE 49C49CODE 49 (ANSI/AIM BC6)
PZN (Pharmazentralnummer)PZNPZN (Pharmazentralnummer - IFA coding system)
LOGMARSLOGMARSLOGMARS (CODE 39 profile of MIL-STD-1189B)
CODE 93C93CODE 93 - USS-93
CODE 128C128CODE 128
CODE 128 AC128ACODE 128 A
CODE 128 BC128BCODE 128 B
CODE 128 CC128CCODE 128 C
CODE 16KC16KCODE 16K (stacked CODE 128)
Standard 2 of 5S25Standard 2 of 5
Standard 2 of 5 with check digitS25+Standard 2 of 5 + CHECKSUM
2 of 5 IATAS25IATA2 of 5 IATA (Computer Identics 2 of 5)
2 of 5 MatrixS25MATRIX2 of 5 Matrix
2 of 5 DatalogicS25DATALOGIC2 of 5 Datalogic (China Post Code)
Interleaved 2 of 5I25Interleaved 2 of 5
Interleaved 2 of 5 with check digitI25+Interleaved 2 of 5 + CHECKSUM
ITF-14ITF14ITF-14 (GTIN-14 - GS1 General Specifications)
MSIMSIMSI (Variation of Plessey code)
MSI with check digitMSI+MSI + CHECKSUM (modulo 11)
PlesseyPLESSEYPlessey Code
TelepenTELEPENTelepen (full ASCII)
CodabarCODABARCODABAR
CODE 11CODE11CODE 11
PharmacodePHARMAPHARMACODE
Pharmacode Two-TrackPHARMA2TPHARMACODE TWO-TRACKS
Linear Raw ModeLRAW1D RAW MODE (comma-separated rows of 01 strings)
EAN-13EAN13EAN 13
EAN-8EAN8EAN 8
EAN 2-digit add-onEAN2EAN 2-Digits UPC-Based Extension
EAN 5-digit add-onEAN5EAN 5-Digits UPC-Based Extension
UPC-AUPCAUPC-A
UPC-EUPCEUPC-E
GS1-128GS1128GS1-128 (CODE 128 with GS1 Application Identifiers)
SSCC-18SSCC18SSCC-18 (GS1-128 with the Application Identifier 00)
GS1-14GS114GS1-14 - EAN-14 - SCC-14 (GS1-128 with the Application Identifier 01)
GS1 DataBar OmnidirectionalDATABARGS1 DataBar Omnidirectional (ISO/IEC 24724)
GS1 DataBar TruncatedDATABARTRUNCGS1 DataBar Truncated (ISO/IEC 24724)
GS1 DataBar StackedDATABARSTACKGS1 DataBar Stacked (ISO/IEC 24724)
GS1 DataBar Stacked OmnidirectionalDATABARSTACKOMNIGS1 DataBar Stacked Omnidirectional (ISO/IEC 24724)
GS1 DataBar LimitedDATABARLIMITEDGS1 DataBar Limited (ISO/IEC 24724)
GS1 DataBar ExpandedDATABAREXPGS1 DataBar Expanded (ISO/IEC 24724)
GS1 DataBar Expanded StackedDATABAREXPSTACKGS1 DataBar Expanded Stacked (ISO/IEC 24724)
HIBC in CODE 39HIBC39HIBC in CODE 39 (ANSI/HIBC 2.6 and ANSI/HIBC 1.3)
HIBC in CODE 128HIBC128HIBC in CODE 128 (ANSI/HIBC 2.6 and ANSI/HIBC 1.3)

See Also