^B5 Planet Code
USPS PLANET barcode.
^B5 prints a USPS PLANET barcode of tall and short bars, the same as ^BZ with type 1; the bar height comes from the second parameter or from ^BY.
Barcodes · Updated 2026-10-20
Syntax
^B5o,h,f,g
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 |
Common mistakes
- PLANET is also ^BZ with t = 1.
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 ^B5 do in ZPL?
^B5 prints a USPS PLANET barcode of tall and short bars, the same as ^BZ with type 1; the bar height comes from the second parameter or from ^BY.
What is the syntax of ^B5?
^B5o,h,f,g
What should I watch out for with ^B5?
PLANET is also ^BZ with t = 1.