Australia Post Barcode Perl Module

Up: Martijn's Homepage  
Prev: PostgreSQL table synchroniser   Next: Non-recursive Make for the Linux kernel  

From July 2002 you will no longer be able to presort your envelopes to get discounts. Instead, you need to barcode them. The particular barcode format used is the 4-state code, described in this PDF document.

Hence this Perl module. Although I don't currently need it, it may be useful to other people. It is not complete by any means, supporting only the simplest of the formats and producing only text or postscript output. However, the code is short and easy to extend. It has been tested and does come with a simple test program.

The two modules are named BarCode.pm and ReedSolomon.pm. (If you can think of better names, let me know). The former deals with producing the code and output, the latter deals with calculating the Reed-Solomon error correcting codes used.

The code is licenced under the GNU General Public Licence (GPL). If you want alternative licencing please contact me.

Download (documentation included in POD format):

Related sites:

PS. You are supposed to use an AMAS approved system to find the DPIDs. However, I have had no experience with any of the vendors. Does anybody know how they work and what they charge?


Up: Martijn's Homepage  
Prev: PostgreSQL table synchroniser   Next: Non-recursive Make for the Linux kernel  
By Martijn van Oosterhout (kleptog (at) svana.org)
Copyright © 2000-2006 - Last modified 14/04/2002