UPC-A Barcode Customization in BIRT
ou can customize UPC-A display properties in the Report Item Property view to meet design and scanning requirements.
These settings integrate with BIRT's Style and Master Page layout rules.
UPC-A Quiet Zone Indicator
- The ShowQuietZoneIndicator property controls visibility of the quiet zone marker.
- Default value: true (displays the indicator).
- To hide the indicator: set ShowQuietZoneIndicator = false.
- This property ensures compliance with retail barcode printing standards.
UPC-A First & Last Digit Customization
You can adjust spacing, position, and font size for the first and last digits:
- UPCEANLeadDigitSpace: Set space between the first digit and start bar.
- UPCEANTrailDigitSpace: Set space between the stop bar and quiet zone indicator.
- UPCEANLeadDigitYShift: Adjust vertical offset of the first digit.
- UPCEANTrailDigitYShift: Adjust vertical offset of the last digit.
- UPCEANLeadTrailDigitSizeRatio: Set font size ratio for first/last digits.
UPC-A Check Digit Calculation
UPC-A uses a MOD 10 (module 10) check digit algorithm for data validation.
In BIRT:
- The BIRT barcode library automatically calculates the check digit.
- If you input 11 digits, the 12th check digit is added automatically.
- If you input 12 digits, the library validates the last digit.
- Assign odd/even positions from right to left.
- Sum digits in odd positions and multiply by 3.
- Sum digits in even positions.
- Add the two results together.
- The check digit makes the total sum divisible by 10.
Common Asked Questions
What is a GTIN-12 UPC-A barcode?
GTIN-12 is a 12 digits Global Trade Item Number. It is usually encoded in UPC-A barcode. The 12 digits Global Trade Item Number includes 11 digits of data message,
and one digit of check sum digit. Using BIRT Barcode plugin, you can encoding 12-digit GS1 numeric data or 13-digits data with checksum digit from database.
What is the minimum & maximum size for a UPC-A barcode?
- The Minimum X-dimension for the UPC-A barcode is 0.0104 inches.
- The Maximum X-dimension for the UPC-A barcode is 0.0260 inches
X in Eclipse BIRT report designer property editor using BIRT Barcode Generator plugin.
What is the difference between EAN-13 and UPC-A?
UPC-A Format barcodes have traditionally been used in the North America (USA and Canada), whereas EAN-13 format barcodes have been used throughout the rest of the world.
BIRT Barcode Generator supports both UPC-A and EAN-13 with add-on symbol barcode generation in BIRT reports, and customize, print EAN/UPC barcode in report designer.
What is the difference between UPC-A and UPC-E?
Both of UPC-A and UPC-E are UPC barcode.
UPC-A is a 12-digit barcode, and UPC-E is a compressed UPC-A with 6 digits code. The UPC-E will be used in limited space for a barcode.
You can create both UPC-A and UPC-E images in BIRT reporting projects using BIRT barcode plugin.
