Sign In
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

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.

Commands in the same category

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

Try this command in the preview