GS1 128 - bwipp/postscriptbarcode GitHub Wiki

GS1-128

GS1-128 is an implementation of the Code 128 barcode symbology which carries GS1 formatted data, including a GTIN-14.

Also known as: UCC/EAN-128, EAN-128, UCC-128.

Variants:

  • GS1-128 Composite is a variant of GS1-128 that should be used when a CC-A, CC-B or CC-C GS1 composite 2D component is required.
  • EAN-14 is a variant of GS1-128 that should be used when encoding a lone fourteen-digit GTIN.
  • SSCC-18 is a variant of GS1-128 that should be used when encoding a lone eighteen-digit SSCC.

Standards: ISO/IEC 15417, ANSI/AIM BC4-1999 ISS, BS EN 799, GS1 General Specifications.

Data and Options

  • The data field input is provided in GS1 Application Identifier standard format.
  • Note that it is not necessary to specify FNC1 characters since the encoder will insert these automatically where necessary.
  • Deprecated. The dontlint option disables GS1 Application Identifier syntax validation allowing images to be generated for input that does not comply with GS1 standards.
  • Deprecated: For internal use. The linkagea option specifies that the symbol includes a CC-A or CC-B GS1 composite 2D component.
  • Deprecated: For internal use. The linkagec option specifies that the symbol includes a CC-C GS1 composite 2D component.

Examples

GTIN 9521234543213; Weight 0.123kg:

Data:    (01)09521234543213(3103)000123
Options: includetext
Encoder: gs1-128

GTIN 9521234543213; Expiration date 1st Jan 2010; Batch 123ABC; Serial 1234567890:

Data:    (01)09521234543213(17)100101(10)123ABC(21)1234567890
Options: includetext
Encoder: gs1-128

⚠️ **GitHub.com Fallback** ⚠️