^NPSet Primary/Secondary Device
^NP configures set Primary/Secondary Device. It applies to the printer session and subsequent formats and controls printer hardware or connectivity rather than label pixels.
ZPLr compatibility note
- Recognized by the renderer but has no label-raster effect.
These are code examples only. This printer or session command does not produce a standalone label image.
aDevice to use as primary
Sets device to use as primary. It can be omitted when the documented default is suitable.
- Default
P- Required
- No
PMa variations
Compare values side by side; other parameters remain at representative defaults.
a = P
Uses P for device to use as primary while the other command values stay at representative defaults.
^NPP
a = M
Uses M for device to use as primary while the other command values stay at representative defaults.
^NPM
Primary source
Official Zebra reference
Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.