Sign In
Products
ZPL ViewerBarcode GeneratorImage → ZPLZPL cheat sheetLabel DesignerTemplate Gallery
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutions
Tools
ZPL Diagnostics HubZPL DebuggerSize & DPI AnalyzerDPI ConverterBarcode fit calculatorShipping Label AnalyzerFont InspectorOrientation DebuggerCalibration AssistantPrinter Compatibility CheckerBarcode Readability CheckerPrinter Language DetectorThermal Printer Test PackZPL ToolsEPL ToolsTSPL ToolsCPCL ToolsPrinter Language ConverterAll ToolsGuidesPricing
Language
EnglishTürkçeDeutsch
Home›ZPL Command Matrix›^BX

^BX — Data Matrix

A Data Matrix 2D barcode — a lot of data in a very small area.

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

In the preview

This command is supported by the preview engine. Parameters ignored in the preview: s, c, r, f, a.

Example

^BXN,4,200

Runnable example

^XA^PW609^LL406^FO60,60^BXN,6,200^FDDATAMATRIX-DEMO^FS^XZ

Open this label in the editor

Parameters

ParameterDescriptionType
orotationenumDefault: N · Options: N, R, I, B
helement (module) size in dots; falls back to the ^BY moduleintRange: 1–32000
squality level (ECC); 200 is recommendedenumDefault: 200 · Options: 0, 50, 80, 100, 140, 200 · ignored in preview
cnumber of columnsintignored in preview
rnumber of rowsintignored in preview
fformat ID (ECC 000-140)intignored in preview
gescape character; if the data starts with <g>1 (FNC1) a GS1 Data Matrix is producedstr
aaspect ratio (1 = square, 2 = rectangular/DMRE); the preview always renders a square symbolenumDefault: 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.

Data Matrix →

Source

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

Try this command in the preview