What ^MU does
^MU lets subsequent commands be expressed in inches or millimetres instead of dots by declaring the base resolution. Use with care — most guides and examples assume dots.
Syntax
^MUa,b,cParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
a | Units | D dots, I inches, M millimetres | D |
b | Base dots-per-inch of the format (optional) | — | — |
c | Printer dots-per-inch (optional) | — | — |
Example
^XA
^MUI
^FO0.25,0.25^A0N,0.2,0.2^FDInches^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- Reset to dots with ^MUD.
- Affects positioning and sizing commands that follow.
Related commands
See the full ZPL command reference for all 92 documented commands.
