Symbology Specific Notes (UPC, DataBar, USPS and GS1-128)

Top  Previous  Next

UPC-A, UPC-E, EAN-8 and EAN-13
When using this barcode type, the +2 and +5 add-on codes are created by adding them to the end of the data encoded. If the check digit is added, it will be ignored and regenerated to ensure that the code can be scanned. If the barcode needs to be rotated by 270, the top margin may need to be increased.

Generating Databar Barcodes
Databar Barcodes are created by adding the Databar object to a label. After the object is added, the data encoded must be a 14 digit number, for example 15012345678907. The only exception is when Databar Expanded barcodes are created. Databar Expanded requires parentheses for each AI in the barcode, for example (01)98898765432106(3202)012345(15)991231

The Databar AI of 01  should not be part of the data encoded, except when using DataBar Expanded. The 14 characters in DataBar are the 13 data characters plus a MOD10 check digit. The check digit is not actually encoded in the barcode (as per the GS1 DataBar specification), but should be included as part of the value. If it is not known, a zero may be substituted for it.

USPS Intelligent Mail, POSTNET and PLANET
The XDimension (Narrow Bar Width) of .05 CM or 19 MILS should be used for USPS barcodes types, which should produce about 23 bars per inch. The user should adjust this setting for the printer if the results are different.

GS1 AIs and Functions in Code 128:
The "AUTO" setting for Code 128 will automatically switch character sets in the barcode as necessary. Our implementation of Code 128 auto has many options as described below:

Encoding functions such as tabs and returns in Code 128
If ApplyTilde is set to "true", the user can use the format ~ddd to specify the ASCII code of the character to be encoded. For example, Easy~009Bar will create a barcode that encodes Easy<Tab Function>Bar. To find the values for other functions, refer to the ASCII chart.
Encoding GS1-128 (UCC/EAN-128) AIs
To encode GS1-128, the character must be set to "AUTO" for automatic. AIs will be properly created in the barcode simply by placing the parentheses around the AI. For example, the following encodes the SSCC-18 with the AI of 00: (00)123456789012345673
MOD10 Calculations
The ~m function may also be used to calculate a MOD 10 if it is not known, for example:
(00)12345678901234567~m17
The number after the ~m indicates the number of digits to use before the ~ in the calculation.

Copyright © 2009 EasyBarcodeSoftware.com