What ^BO does
^BO encodes an Aztec Code, a compact 2D matrix symbology that needs no quiet zone and is common on transport tickets and boarding passes. Magnification and error-correction level are adjustable.
Syntax
^BOa,b,c,d,e,f,gParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
a | Orientation | N,R,I,B | N |
b | Magnification factor | 1–10 | — |
c | Extended channel interpretation | Y,N | N |
d | Error control / symbol size | 0–300 | — |
e | Menu symbol | Y,N | N |
f | Number of symbols for structured append | 1–26 | 1 |
g | Optional ID field for append | — | — |
Example
^XA
^FO50,50^BON,5,N,0,N,1,0^FDAztec data^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- No quiet zone required.
- Widely used for mobile and transport tickets.
Related commands
See the full ZPL command reference for all 92 documented commands.
