Barcodes

^B5Planet Code Barcode

Prints a USPS PLANET Code barcode.

Category
Barcodes
Syntax
^B5o,h,f,g

What ^B5 does

^B5 encodes the USPS PLANET Code, a height-modulated postal barcode formerly used by the US Postal Service for mail tracking and confirmation.

Syntax

^B5o,h,f,g

Parameters

ParameterDescriptionValuesDefault
oOrientationN,R,I,BN
hBar height in dots
fPrint interpretation lineY,NN
gInterpretation line above codeY,NN

Example

^XA
^FO50,50^B5N,100,N,N^FD01234567890^FS
^XZ

Paste this into the free ZPL viewer to see it render, or convert it to PDF.

Notes & tips

  • A USPS postal symbology.
  • Encodes numeric data only.

See the full ZPL command reference for all 92 documented commands.

Work with your labels, not just read about them

Zentralabel converts, previews, validates, and enriches ZPL labels right in your browser — free tools for one-offs, batch processing for scale.