^MU Set Units
Changes the unit of measurement to dots, inches or millimetres.
Label format · Updated 2026-10-20
Syntax
^MUa,b,c
Parameters
| Parameter | What it does | Values |
|---|---|---|
a | Units for the following coordinates. | D = dots, I = inches, M = millimetres; default D |
b | Base density for conversion, in dpi. | 150, 200, 300, 600 |
c | Target density, in dpi. | 150, 200, 300, 600 |
Example
Edit the code and the label redraws. This is the same engine as the API.
Questions
What does ^MU do in ZPL?
Changes the unit of measurement to dots, inches or millimetres.
What is the syntax of ^MU?
^MUa,b,c