Specifications

Table Of Contents
^MU
Set Units of Measurement
Description: This command sets the printer units of measurement. The ^MU
command works on a field-by-field basis. Once the mode units is set, it carries over
from field to field until a new mode 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
Parameters:
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 1: Setting Units
Assume 8 dot-per-millimeter (203 dot-per-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
ZPL II Programming Guide Volume One: Command Reference for X.10
205