UPC-A (GTIN-12) Generation Options

Barcode Information | Tutorials | Examples

The UPC-A barcode option is specified in IDAutomation Barcode Fonts, Components and Applications to create a UPC-A barcode, which is most commonly used to encode 12 digits of the GTIN.

The 12th digit of UPCA is a MOD10 check digit that is recalculated in all IDAutomation barcode products to reduce scanning errors and may be omitted when encoding data. A 2 or 5 digit add-on may be created by appending the numbers to the end of the 11 or 12 digits that make up the primary symbol. Therefore, a number string of 11, 12, 13, 14, 16 or 17 digits (with or without a check digit) must make up the DataToEncode.

  • Using the UPC-A barcode option with a font encoder returns text formatted to the UPC-A Barcode Fonts.
  • The UPC-A barcode option in all components and applications will produce a barcode image.
  • Entering incorrect data may create a barcode containing all zeros in some products.

Fig. 1. UPC-A barcode encoding “123456789012” with an add-on of “12345”.

UPC-A Barcode Encoding "123456789012" with an add-on of "12345"

The above UPC-A barcode was created with the Barcode Image Generator. A free online barcode generator is also available.

The UPC-A barcode type may be easily read and verified with the IDAutomation USB Barcode Scanner.