What ^BX does
^BX creates a Data Matrix symbol, a compact 2D barcode used for small-item marking, electronics, and pharmaceutical labels. It packs a lot of data into a tiny square and has strong error correction (ECC 200).
Syntax
^BXo,h,sParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
o | Orientation | N, R, I, B | — |
h | Symbol height / element size, dots | — | — |
s | Quality (ECC) level | 0,50,80,100,140,200 | 200 |
Example
^XA
^FO50,50^BXN,6,200^FDLOT4471-2026^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Related commands
See the full ZPL command reference for all 92 documented commands.
