A Data Matrix 2D barcode — a lot of data in a very small area.
^BXo,h,s,c,r,f,g,aThis command is supported by the preview engine. Parameters ignored in the preview: s, c, r, f, a.
^BXN,4,200^XA^PW609^LL406^FO60,60^BXN,6,200^FDDATAMATRIX-DEMO^FS^XZ| Parameter | Description | Type | |
|---|---|---|---|
o | rotation | enum | Default: N · Options: N, R, I, B |
h | element (module) size in dots; falls back to the ^BY module | int | Range: 1–32000 |
s | quality level (ECC); 200 is recommended | enum | Default: 200 · Options: 0, 50, 80, 100, 140, 200 · ignored in preview |
c | number of columns | int | ignored in preview |
r | number of rows | int | ignored in preview |
f | format ID (ECC 000-140) | int | ignored in preview |
g | escape character; if the data starts with <g>1 (FNC1) a GS1 Data Matrix is produced | str | |
a | aspect ratio (1 = square, 2 = rectangular/DMRE); the preview always renders a square symbol | enum | Default: 1 · Options: 1, 2 · ignored in preview |
The marked parameters are part of the ZPL specification and work on a real printer; the preview engine ignores them today.
Zebra ZPL II Programming Guide (P1134473-11EN), page 144.
^BY · ^BC · ^BE · ^BQ · ^B3 · ^B7 · ^B1 · ^B2 · ^B8 · ^B9 · ^BA · ^BI · ^BJ · ^BK · ^BM · ^BU · ^BR · ^B0 · ^BO · ^BF · ^BD