Plain English

Changes the measurement units from dots to inches or millimetres. Instead of calculating dots, you can say ^FO25,50 and mean millimetres. Makes ZPL much more readable.

When to use

When you find it easier to think in mm or inches instead of dots.

Syntax

^MUd,x,y

Parameters

ParameterDescription
d
Unit: D (dots, default), I (inches), M (millimetres)
x
DPI for x-axis (usually leave blank)
y
DPI for y-axis (usually leave blank)

Example

^XA
^MUM
^PW100^LL50
^FO10,10^A0N,5,5^FD100x50mm label^FS
^XZ

Label defined in millimetres instead of dots

Try it in the playground View all ZPL commands