Help & Support
Contents
Display Legacy Contents

Search:

Home > Report Designer > Report Controls > Report Elements > Barcode > UPC-E0

UPC-E0

Home > Report Designer > Report Controls > Report Elements > Barcode > UPC-E0

UPC-E0


This topic describes how to insert a barcode control of the UPC-E0 symbology (code type) into a report. In addition, it gives a short description of the UPC-E0 code type. To learn more about barcodes in XtraReports, see the Barcodes Overview topic.

Short Description

UPC-E is a variation of UPC-A which allows for a more compact barcode by eliminating "extra" zeros. Since the resulting UPC-E barcode is about half the size as an UPC-A barcode, UPC-E is generally used on products with very small packaging, where a full UPC-A barcode couldn't reasonably fit.

The UPC-E0 is a kind of UPC-E code with the number system set to 0. In the human readable string of the bar code the first digit signifies the number system (always 0 for this code type), and the last digit is the check digit of the original UPC-A code. So, in the example below, the original UPC-A code is "04210000526". We should remove the leading zero when assigning the string to the control's property, since the code format itself implies its presence. The checksum digit (4) is calculated automatically, and the symbology algorithm transforms the rest of the numeral string. The result is 425261, and it is encoded along with the number system prefix and the check digit into the scanner-readable form.

Not every UPC-A code can be transformed into the UPC-E0. It must meet special requirements, and you should refer to UPC-E Symbology page for more information.


Barcode's Properties

The are no properties specific to the UPC-E0 barcode type.

NoteNote

If it is not possible to convert from the 10-digit code to the six-digit code, the "Invalid text format" string is displayed. The digits to the right of the 10th digit in the code string are ignored. It is the developer's responsibility to verify the correctness and the length of the string.



See also



Properties
Article ID:
upc-e0
Views: 149
Created By: jimdurkin
Modified By: [Modified By]
Created Date: 3/24/2014 12:31 PM
Last Modified: 3/24/2014 12:31 PM
Actions
Print This Article
Bookmark
Email This Article
Previous Article
Next Article