POSTNET barcode in PHP: ZIP code input, check digit, code examples and SVG output
Your support helps keep this website running. Please consider supporting this project. SPONSORDONATE
- Nicola Asuni
POSTNET encodes a ZIP code in bar height rather than bar width: five bars per digit, two of them tall. It carried the ZIP, the ZIP+4 or the eleven-digit delivery point code, and the United States Postal Service retired it in favour of the Intelligent Mail Barcode.
Type Token
Item
Value
Type token
POSTNET
Enum case
BarcodeType::POSTNET
Family
Postal
Standard
USPS-B-3200
Class
\Com\Tecnick\Barcode\Type\Linear\Postnet
Input
Item
Value
Character set
digits
Length
5, 9 or 11 digits in practice; the library accepts any number of them