Search code examples
phpgeneratorbarcodeusps

How to generate Intelligent Mail® Barcode (OneCode) via PHP


I have a request to provide CASS certificated addresses on a PDF document. This involves using a certified mailing address, and needs to be printed using the barcode.

How can I generate such a barcode? Might exists PHP libraries that already does this?


Solution

  • The USPS has libraries and helper code you can download for all major platforms. They don't have a PHP class, but you could exec or system out to the OS to generate the code.