postnet.pm


NAME

postnet - package for producing postnet barcodes for PCL 5 printers


SYNOPSIS

use postnet; print 'The postnet barcode for 49104 is ' . pnpcl( '49104' );


DESCRIPTION

This package produces the USPS postnet barcode for standard 5-digit zipcodes and zip+4 codes. If the zip code passed is not 5, 9, or 10 characters in length or contains characters other than 0-9 and the '-', pnpcl returns undef.


AUTHOR

Brad Christensen <bradc@andrews.edu>


SEE ALSO

The Hewlett-Packard LaserJet reference manual.


BUGS

Currently this package only produces PCL 5 code. It will not produce postnet barcodes for dot-matrix or PCL3 printers.


ACKNOWLEDGEMENTS

This package is based upon C routines published in the C Gazette, Volume 5, Number 2 by Andrew Binstock.


COPYRIGHT

Copyright 1998, Brad Christensen

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


AVAILABILITY

The latest version of this library is likely to be available from:

http://www.andrews.edu/~bradc/perl/postnet/