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,gParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
o | Orientation | N,R,I,B | N |
h | Bar height in dots | — | — |
f | Print interpretation line | Y,N | N |
g | Interpretation line above code | Y,N | N |
Example
^XA
^FO50,50^B5N,100,N,N^FD01234567890^FS
^XZPaste 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.
Related commands
See the full ZPL command reference for all 92 documented commands.
