Specifications
231
ZPL Commands
^MU
9/15/06 ZPL II Programming Guide 45541L-004 Rev. A
^MU
Set Units of Measurement
Description The ^MU command sets the units of measurement the printer uses. ^MU works
on a field-by-field basis. Once the mode of units is set, it carries over from field to field until a
new mode of units is entered.
^MU also allows for printing at lower resolutions — 600 dpi printers are capable of printing at
300, 200, and 150 dpi; 300 dpi printers are capable of printing at 150 dpi.
Format ^MUa,b,c
This table identifies the parameters for this format:
Parameters Details
a = units
Accepted Values:
D = dots
I = inches
M = millimeters
Default Value:
D
b
= format base in
dots per inch
Accepted Values:
150, 200, 300
Default Value: a value must be entered or the command is ignored
c = desired dots-per-
inch conversion
Accepted Values:
300, 600
Default Value: a value must be entered or the command is ignored
Example • This is an example of Setting Units:
Assume 8 dot/millimeter (203 dot/inch) printer.
Field based on dots:
^MUd^FO100,100^GB1024,128,128^FS
Field based on millimeters:
^MUm^FO12.5,12.5^GB128,16,16^FS
Field based on inches:
^MUi^FO.493,.493^GB5.044,.631,.631^FS