How to create this USPS code128 bar code?

Need assistance with programming Font Tools? Post here.

How to create this USPS code128 bar code?

Postby JohnM on Fri Mar 30, 2012 2:39 pm

I bought your US Postal Font Package to create code128 barcode for confirmation service. I am stuck with getting the barcode like the one attached. Your USPS_EAN128 function gives a barcode with 20 digits encoded (scanned to 22 digits). The sample barcode scanned as 30 digits.
Sample USPS confirmation service barcode
sample-usps-ean128-barcode-delivery-service.png (9.23 KiB) Viewed 109785 times

Re: How to create this USPS code128 bar code?

Postby glitch on Fri Mar 30, 2012 3:02 pm

Despite that the human readable text displays 22 digits, this is a concatenated UCC/EAN128 barcode which encodes 30 digits.

The data is expressed as (420)00763(91)84969010386135792661, which are two EAN128 combined.

You can use EAN128Ex function to get barcode string, and format with "MRV Post128" font. See KB10049 for details.
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
Support Engineer
Posts: 198
Joined: Wed May 14, 2008 2:42 pm

Return to Font Tools API

Who is online

Users browsing this forum: No registered users and 1 guest