[barcode] Re: a little help with EAN 128 for US Postal Service Tracking labels

Leonid A Broukhis leob@mailcom.com
Tue Feb 15 17:12:06 CET 2005


> Is this correct? If so, I tried the suggestion in the second post by Franz:
> 
>     $ echo -e '\30142007450\3019101805213907968005044' > barcode.txt
>     $ barcode -n -i barcode.txt -e 128 -u in -g 3.027x0.855

It may be easier to use 128raw. 
> 
> Unfortunately the barcode this generates does not match the one that the USPS 
> provides. The number that I'm trying to encode is:
> 
>           420074509101805213907968005044
> or      (420) 07450 (91) 01805213907968005044
> 
> It has two application identifiers (AI's). The first is 420 which identifies 
> the subsequent five digits 07450 as the destination postal code. The next AI is 
> 91 which identifies the tracking number 01805213907968005044.
 
Invest some time in decoding the USPS barcode manually,
then use 128raw if you want an exact match.

	Leo



More information about the barcode mailing list