Skip to command documentation
Supportedformatrastersession scope
^MU

Set Units of Measurement

^MU configures set Units of Measurement. It applies to the printer session and subsequent formats and can change pixels in the rendered label.

Syntax
^MUa,b,c
a

Units

Sets units. It can be omitted when the documented default is suitable.

Default
D
Required
No
Documented valuesDIM

a variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

a = D

Uses D for units while the other command values stay at representative defaults.

ZPLcaret-mu-a-1.zpl
^XA
^PW640
^LL360
^MUD,150,300
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDFormat command^FS
^FO28,318^A0N,22,22^FDCaret MU parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

a = I

Uses I for units while the other command values stay at representative defaults.

ZPLcaret-mu-a-2.zpl
^XA
^PW640
^LL360
^MUI,150,300
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDFormat command^FS
^FO28,318^A0N,22,22^FDCaret MU parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

a = M

Uses M for units while the other command values stay at representative defaults.

ZPLcaret-mu-a-3.zpl
^XA
^PW640
^LL360
^MUM,150,300
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDFormat command^FS
^FO28,318^A0N,22,22^FDCaret MU parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
b

Format base in dots per inch

Sets format base in dots per inch. It can be omitted when the documented default is suitable.

Default
a value must be entered or the command is ignored
Required
No
Documented values150200300

b variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

b = 150

Uses 150 for format base in dots per inch while the other command values stay at representative defaults.

ZPLcaret-mu-b-1.zpl
^XA
^PW640
^LL360
^MUD,150,300
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDFormat command^FS
^FO28,318^A0N,22,22^FDCaret MU parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

b = 200

Uses 200 for format base in dots per inch while the other command values stay at representative defaults.

ZPLcaret-mu-b-2.zpl
^XA
^PW640
^LL360
^MUD,200,300
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDFormat command^FS
^FO28,318^A0N,22,22^FDCaret MU parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

b = 300

Uses 300 for format base in dots per inch while the other command values stay at representative defaults.

ZPLcaret-mu-b-3.zpl
^XA
^PW640
^LL360
^MUD,300,300
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDFormat command^FS
^FO28,318^A0N,22,22^FDCaret MU parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
c

Desired dots-per-inch conversion

Sets desired dots-per-inch conversion. It can be omitted when the documented default is suitable.

Default
a value must be entered or the command is ignored
Required
No
Documented values300600

c variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

c = 300

Uses 300 for desired dots-per-inch conversion while the other command values stay at representative defaults.

ZPLcaret-mu-c-1.zpl
^XA
^PW640
^LL360
^MUD,150,300
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDFormat command^FS
^FO28,318^A0N,22,22^FDCaret MU parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

c = 600

Uses 600 for desired dots-per-inch conversion while the other command values stay at representative defaults.

ZPLcaret-mu-c-2.zpl
^XA
^PW640
^LL360
^MUD,150,600
^FO28,24^GB584,270,3,B,16^FS
^FO58,125^A0N,42,38^FDFormat command^FS
^FO28,318^A0N,22,22^FDCaret MU parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.