ZPL commandsBarcodes

^BXData Matrix bar code

✓Supported by zplkit· Same size as a printer's symbol; data can be encoded differently

Data Matrix, a square or rectangular 2D symbol that stores a lot of data in a small area. Common for marking parts and healthcare items.

Format

^BXo,h,s,c,r,f,g,a

Parameters

ParameterDescriptionDefault
oOrientationN normal, R 90°, I 180°, B 270°Current ^FW value
hHeight of each module, in dots
sQuality level0, 50, 80, 100, 140 or 200 (ECC 200)0
cNumber of columns
rNumber of rows
fFormat ID0 to 66
gEscape sequence control character (quality 200 only)_ on firmware V60.13.0.12 and later, ~ on older firmware
aAspect ratio1 square, 2 rectangular1

Example

Edit it to see what prints
What the ^BX example prints

In zplkit: label.dataMatrix() or <DataMatrix>