Supportedformatrastersession scope
^JMSet Dots per Millimeter
^JM configures set Dots per Millimeter. It applies to the printer session and subsequent formats and can change pixels in the rendered label.
Syntax
nSet dots per millimeter
Sets set dots per millimeter. It can be omitted when the documented default is suitable.
- Default
A- Required
- No
Documented values
ABn variations
Compare values side by side; other parameters remain at representative defaults.
Side-by-side comparison2 variations
n = A
Uses A for set dots per millimeter while the other command values stay at representative defaults.
ZPLcaret-jm-n-1.zpl
^XA
^PW300
^LL170
^JMA
^FO14,12^GB272,135,2,B,0^FS
^FO28,60^A0N,20,16^FDDot density^FS
^FO14,150^A0N,11,11^FDCaret JM parameter example^FS
^XZRenderer8 dpmm
Preview loads in your browser
n = B
Uses B for set dots per millimeter while the other command values stay at representative defaults.
ZPLcaret-jm-n-2.zpl
^XA
^PW300
^LL170
^JMB
^FO14,12^GB272,135,2,B,0^FS
^FO28,60^A0N,20,16^FDDot density^FS
^FO14,150^A0N,11,11^FDCaret JM parameter example^FS
^XZRenderer8 dpmm
Preview loads in your browser
Primary source
Official Zebra reference
Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.