Barcodes

^BXData Matrix Barcode

Draws a Data Matrix 2D barcode.

Category
Barcodes
Syntax
^BXo,h,s

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,s

Parameters

ParameterDescriptionValuesDefault
oOrientationN, R, I, B
hSymbol height / element size, dots
sQuality (ECC) level0,50,80,100,140,200200

Example

^XA
^FO50,50^BXN,6,200^FDLOT4471-2026^FS
^XZ

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

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.