^BZ POSTAL
US postal barcodes: POSTNET, PLANET and Intelligent Mail.
^BZ prints US postal barcodes: POSTNET by default, PLANET with type 1 and USPS Intelligent Mail with type 3, which takes 20 to 31 digits of tracking and routing code.
Barcodes · Updated 2026-10-20
Syntax
^BZo,h,f,g,t
Parameters
| Parameter | What it does | Values |
|---|---|---|
o | Rotation. | N, R, I, B |
h | Bar height, in dots. | default: ^BY's |
f | Human-readable line. | Y or N; default Y |
g | Put that line above the code. | Y or N; default N |
t | Postal code type. | 0 = POSTNET, 1 = PLANET, 2 = local postal, 3 = USPS Intelligent Mail; default 0 |
Common mistakes
- Intelligent Mail (t = 3) takes 20, 25, 29 or 31 digits: the tracking code plus the routing ZIP.
Example
Edit the code and the label redraws. This is the same engine as the API.
Your file is downloading.
Free, with no daily limit. A free account also saves your designs and gives you an API key.

Questions
What does ^BZ do in ZPL?
^BZ prints US postal barcodes: POSTNET by default, PLANET with type 1 and USPS Intelligent Mail with type 3, which takes 20 to 31 digits of tracking and routing code.
What is the syntax of ^BZ?
^BZo,h,f,g,t
What should I watch out for with ^BZ?
Intelligent Mail (t = 3) takes 20, 25, 29 or 31 digits: the tracking code plus the routing ZIP.