Skip to content

^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

ParameterWhat it doesValues
oRotation.N, R, I, B
hBar height, in dots.default: ^BY's
fHuman-readable line.Y or N; default Y
gPut 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.

Try it

Preview

100%
Output of this example
^B5 example rendered by the OpenZPL engine
4 × 3 in at 203 dpi, rendered by the OpenZPL engine when this page was published.

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.

Related commands

Share this command
Feedback