Sign In
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutionsAll 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