^JMSet Dots per Millimeter
^JM configures set Dots per Millimeter. It applies to the printer session and subsequent formats and changes job or printer-session state used while processing labels.
ZPLr compatibility note
- Changing printhead resolution inside a ZPL job is not modeled; select printDensity in the render options.
These are code examples only. This command is recognized but not implemented by the local renderer.
nSet dots per millimeter
Sets set dots per millimeter. It can be omitted when the documented default is suitable.
- Default
A- Required
- No
ABn variations
Compare values side by side; other parameters remain at representative defaults.
n = A
Uses A for set dots per millimeter while the other command values stay at representative defaults.
^JMA
n = B
Uses B for set dots per millimeter while the other command values stay at representative defaults.
^JMB
Primary source
Official Zebra reference
Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.