Skip to content
Terry Burton edited this page Feb 6, 2015 · 22 revisions

UPC-A

The UPC-A barcode symbology is used for identification of retail goods at point of sale inside of the US. It usually carries a GTIN-12.

Also known as: UPC, UCC-12, Universal Product Code.

Variants:

  • UPC-A+2 is an extension of UPC-A that includes a two digit add-on.
  • UPC-A+5 is an extension of UPC-A that includes a five digit add-on.
  • UPC-E is a barcode symbology derived from UPC-A that is designed for small packaging.
  • UPC-A Composite is a variant of UPC-A that should be used when a CC-A or CC-B GS1 composite 2D component is required.

Standards: ISO/IEC 15420, BS EN 797, GS1 General Specifications.

Data and Options

  • The data field for a UPC-A may contain 11 or 12 digits, optionally followed by a space then two or five digits if an EAN-2 or EAN-5 add-on is required.
  • Alternatively, the data field may contain 7 or 8 digits of a UPC-E to produce the equivalent UPC-A symbol.
  • If 11 digits of primary data are supplied the the 12th check digit is calculated automatically. Otherwise the provided check digit must be correct.
  • The includetext option should normally be supplied.

Examples

Identical symbols, input provided with and without a check digit:

0 0 moveto (788581014974) (includetext)
/upca /uk.co.terryburton.bwipp findresource exec
0 0 moveto (78858101497) (includetext)
/upca /uk.co.terryburton.bwipp findresource exec

A symbol that includes a 5 digit add-on:

0 0 moveto (788581014974 54499) (includetext guardwhitespace)
/upca /uk.co.terryburton.bwipp findresource exec


Symbologies Reference

Point of Sale

GS1 DataBar

Supply Chain

Two-dimensional Symbols

One-dimensional Symbols

Postal Symbols

Pharmaceutical Symbols

Less-used Symbols

GS1 Composite Symbols

Raw Symbols

Partial Symbols

Clone this wiki locally