Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners. IDAutomation.com, Inc., Computers Hardware, Software & Services, Tampa, FL   This site chose the Norton Secured Seal to promote trust online with consumers.    View your cart in the IDAutomation Store   


Home > Barcode FAQ > GS1 DataBar Barcode FAQ & Tutorial

GS1 DataBar Barcode FAQ & TutorialDataBar Expanded Stacked encoding GTIN plus Sell by Date

GS1 DataBar Overview

The GS1 DataBar barcode symbology is the latest POS barcode type for space-constrained identification from GS1, formerly EAN International and the Uniform Code Council, Inc. DataBar barcodes have been utilized to solve many problems in POS, grocery and healthcare, where items are too small to allow for traditional barcode types, or where additional information needs to be encoded such as product weight, expiration dates, country of origin or serial numbers. DataBar is also the only barcode symbology approved by GS1 to encode GTIN-14 numbers in all retail checkout systems after January 1, 2010 and is required by the Joint Industry Coupon Committee (JICC) to be used for DataBar Coupon Barcodes.

UPC to DataBar POS Barcode Comparison

The following is a comparison of a UPC-A barcode encoding the GTIN-12 data "123456789012" with DataBar barcodes encoding the same data for use in POS systems. The GTIN-12 is converted to GTIN-14 by adding zeros to the beginning of the number. The below DataBar Expanded Stacked barcode encodes the 14-digit GTIN and "Sell by Date" in about the same space as a standard UPC symbol. DataBar Expanded Stacked symbols may also be sized with the segments property.

Table1. UPC to DataBar POS Comparison.

UPC-A

DataBar

DataBar Stacked

DataBar Expanded Stacked

Encodes GTIN-12:
123456789012
Encodes GTIN:
(01)00123456789012
Encodes GTIN:
(01)00123456789012
GTIN + Sell by Date; 4 Segments:
(01)00123456789012(15)991231
UPC-A Barcode Encoding GTIN-12 "123456789012" DataBar-14 Barcode Encoding GTIN-14 "(01)00123456789012" DataBar Stacked Barcode Encoding GTIN-14 "(01)00123456789012" DataBar Expanded Stacked encoding GTIN plus Sell by Date

The above GTIN barcodes were created at 96 DPI with the Barcode Image Generator.

DataBar POS Symbols Encoding the GTIN

DataBar Omnidirectional and DataBar Stacked Omnidirectional symbols are approved for POS use and encode only the GTIN. In all IDAutomation products, the DataToEncode for this barcode type is 14 digits of the GTIN. The last digit in the DataToEncode is the check digit. If unknown, enter 0 for the check digit. If 14 digits are not entered, zeros will be added to the beginning of the data. For example, 77012345678900 will scan as (01)77012345678907. There is an implied AI of 01 that should not be part of the DataToEncode, except when using DataBar Expanded.

Fig. 1. DataBar Omnidirectional Barcode Encoding GTIN "20012345678909":
  GS1 DataBar Omni-directional Barcode Encoding GTIN "20012345678909"

Fig. 2. DataBar Stacked Omnidirectional Barcode Encoding "00123456789012":
  DataBar Stacked Omni-directional Barcode Encoding "00123456789012"

DataBar POS Symbols Encoding the GTIN and Additional Information

DataBar Expanded and DataBar Expanded Stacked are capable of encoding the 14-digit GTIN, and additional data such as expiration dates, country of origin and serial numbers up to 74 numeric or 41 alphabetic characters. Omnidirectional is not normally part of the title of this symbology, even though it is omnidirectional. In all IDAutomation products, the DataToEncode for this barcode type prefers parentheses around each AI in the barcode. This symbology may be used in a variety of ways, and has specific encoding methods for particular Application Identifiers (AI's). DataBar Expanded symbols are transformed into DataBar Expanded Stacked symbols by changing the segments property to a low even number such as 4, 6 or 8.

Fig. 3. DataBar Expanded Barcode Encoding "(01)98898765432106(3202)012345(15)991231":
  DataBar Expanded Barcode Encoding "(01)98898765432106(3202)012345(15)991231"

Fig. 4. 4-Segment DataBar Expanded Stacked Barcode Encoding GTIN, Weight and Sell By Date "(01)98898765432106(3202)012345(15)991231":
  DataBar Expanded Stacked Barcode Encoding GTIN, Weight and Sell-by Date

Fig. 5. 6-Segment DataBar Coupon Barcode Encoding "(8110)10014141012345290110100":
  6-Segment DataBar Coupon Barcode Encoding "(8110)10014141012345290110100"

Fig. 6. DataBar POS Barcode Encoding GTIN, Price, Weight, Expiration Date, Country of Origin and Serial Number "(01)09501101420069(3922)995(3202)000100(17)100101(422)123(21)123456":
  DataBar POS Barcode Encoding GTIN, Price, Weight, Expiration Date, Country of Origin and Serial Number

Table 2. DataBar Expanded Barcodes may be sized with the segments property to change the height or width of the symbol.

DataBar Expanded

DataBar Expanded Stacked

DataBar Expanded Stacked

GTIN + Sell Date; 22 Segments:
(01)00123456789012(15)991231
GTIN + Sell Date; 4 Segments:
(01)00123456789012(15)991231
GTIN + Sell Date; 2 Segments:
(01)00123456789012(15)991231
DataBar Expanded Barcode Encoding GTIN and Sell Date DataBar Expanded Stacked Barcode Encoding GTIN and Sell Date DataBar Expanded Stacked Barcode Encoding GTIN and Sell Date

The above DataBar barcodes were created at 96 DPI with the DataBar Barcode Image Generator.

DataBar Non-POS Symbols

DataBar Truncated, DataBar Stacked and DataBar Limited symbols are not omnidirectional and are not approved for POS use. It is rare to see these barcode types in use because they are not approved for POS and they do not offer any additional functionality over the POS approved symbologies except that they are smaller in size. If size is a concern, instead of DataBar, it is usually better to use GS1-DataMatrix or GS1-QRCode because these symbologies will be standard in the future according to GS1 and they can encoded much more information that the GTIN.

In all IDAutomation products, the DataToEncode for this barcode type is 14 digits of the GTIN. The last digit in the DataToEncode is the check digit. If unknown, enter 0 for the check digit. If 14 digits are not entered, zeros will be added to the beginning of the data. For example, 77012345678900 will scan as (01)77012345678907. There is an implied AI of 01 that should not be part of the DataToEncode.

Fig. 7. DataBar Truncated Encoding "00012345678905":
  DataBar Truncated Barcode Encoding "00012345678905"

Fig. 8. DataBar Stacked Encoding "00012345678905":
  DataBar Stacked Barcode Encoding "00012345678905"

Fig. 9. DataBar Limited Encoding "15012345678907":
  GS1 DataBar Limited (RSS-14 Limited)

Printing GS1 DataBar

The following barcode components support DataBar barcode printing and creation:

Reading and Verifying GS1 DataBar

IDAutomation offers the following hand-held DataBar Barcode Scanners:

Note: Some barcode scanners do not read all GS1 DataBar and Composite symbologies. Refer to the scanner manufacturer's specifications and data sheet for details.

Back to Top

 ©Copyright 2017 IDAutomation.com, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on Google Plus  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.