Japan Post customer barcode in PHP: postal code and address input, check character, code example and SVG output
Your support helps keep this website running. Please consider supporting this project. SPONSORDONATE
- Nicola Asuni
Japan Post’s customer barcode carries the seven-digit postal code followed by the part of the address that identifies the delivery point. Bars take three shapes, and the alphabetic parts of an address are encoded through control characters, which is why the drawn symbol is longer than the text suggests.
Type Token
Item
Value
Type token
JPPOST
Enum case
BarcodeType::JPPOST
Family
Postal
Class
\Com\Tecnick\Barcode\Type\Linear\JapanPost
Input
Item
Value
Character set
0-9, A-Z and -
Length
a 7 digit postal code, then up to 13 characters of address