Skip to content

Can BarTender Print a UPC-12 and EAN-13 Based on the UPC Size In Elliott?


Release date: 09/30/2021

Version: BarTender 2021 and Up

Yes, BarTender can print based on the field size, but there are two conditions that have to be set.  First, you will need to create two barcodes.  Both will print in the same area.  Next, you will need to right-click on each barcode and select Properties.  Click the Error Handling property.  Under the Error Condition for Content Does Not Fit, uncheck the Clip To Fit box.  Under the Error Condition for Data Is Invalid, uncheck the Ask User Whether To Abort Print Job box.



For the UPC barcode, select the Data Sources property.  Under the Transforms tab you will need to set the Number Of Characters to be Maximum 12 Character(s) and the Character Template to be 12 question marks (????????????).



For the EAN barcode, select the Data Sources property. Under the Transforms tab you will need to set the Number Of Characters to be Maximum 13 Character(s), Pad On Left With Space and the Character Template to be 13 question marks (?????????????).



The EAN barcode will print for any 13-digit number, even if the beginning numbers are zeros.  Anything less than 13 will trigger the UPC barcode to print.  If the number is more than 13 digits, a barcode will not print.

MAD

Feedback and Knowledge Base