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›^MU

^MU — Set Units of Measurement

Selects the unit used by the commands that follow; with a base and target dot density the printer rescales the format between resolutions.

Syntax^MUa,b,c
CategoryAdvanced

In the preview

This command is not supported by the preview engine yet; it is parsed but has no effect on the rendered output.

Example

^MUd,203,300

Parameters

ParameterDescriptionType
aunit: D = dots, I = inches, M = millimetresenumDefault: D · Options: D, I, M · ignored in preview
bbase dot density the format was written for (dots per inch)intRange: 0–1200 · ignored in preview
ctarget dot density; given together with b, the printer scales the format from b to cintRange: 0–1200 · ignored in preview

The marked parameters are part of the ZPL specification and work on a real printer; the preview engine ignores them today.

Source

Zebra ZPL II Programming Guide (P1134473-11EN), page 312.

^SN · ^PQ · ^FN · ^DF · ^XF · ^XG · ~DG · ^DU · ^DY · ^EG · ^ID · ^SF

Try this command in the preview