Plain English

Tells the printer to interpret coordinates at a different DPI than its physical resolution. Allows ZPL designed for 203dpi to print on a 300dpi printer (or vice versa).

When to use

When deploying the same ZPL across printers with different resolutions — avoids redesigning every label.

Syntax

^JMdpi

Parameters

ParameterDescription
dpiResolution mode: A (203dpi) or B (300dpi)

Example

^XA
^JMA
^XZ

Set printer to interpret coordinates as 203dpi

Try it in the playground View all ZPL commands