Printing Barcodes from webapp?
Robin Becker
robin at reportlab.com
Wed Dec 6 13:30:07 EST 2006
Dennis Lee Bieber wrote:
> On Tue, 05 Dec 2006 18:19:58 GMT, Dennis Lee Bieber
> <wlfraed at ix.netcom.com> declaimed the following in comp.lang.python:
>
>> Aye, just the Postnet scheme... The difficult part was working out
>> the spacing for the dot-matrix printer; the rest was just using the
>> Zipcode digits as an index into byte-strings of MX-80 codes.
>
> I've recently downloaded the 4-state spec from USPS... That thing is
> obscene... At least Postnet could be decoded visually with a simple
> chart. 4-state distributes bits all over!
well the code in reportlab/graphics/barcodes that deals with it should be
adaptable if you're interested (only around 300 lines).
I have a feeling that the UK/AU 4state codes aren't as exotic, but not having
actually implemented them it's hard to say.
--
Robin Becker
More information about the Python-list
mailing list