Skip to content

^MU Set Units

Changes the unit of measurement to dots, inches or millimetres.

Label format · Updated 2026-10-20

Syntax

^MUa,b,c

Parameters

ParameterWhat it doesValues
aUnits for the following coordinates.D = dots, I = inches, M = millimetres; default D
bBase density for conversion, in dpi.150, 200, 300, 600
cTarget density, in dpi.150, 200, 300, 600

Example

Edit the code and the label redraws. This is the same engine as the API.

Try it

Preview

100%

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

Related commands