Skip to command documentation
Device onlyprinterdevicesession scope
^MP

Mode Protection

^MP configures mode Protection. 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.

Syntax
^MPa
a

Mode to protect

Sets mode to protect. It can be omitted when the documented default is suitable.

Default
a value must be entered or the command is ignored
Required
No
Documented valuesDPCESWFXM

a variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

a = D

Uses D for mode to protect while the other command values stay at representative defaults.

ZPLcaret-mp-a-1.zpl
^MPD

a = P

Uses P for mode to protect while the other command values stay at representative defaults.

ZPLcaret-mp-a-2.zpl
^MPP

a = M

Uses M for mode to protect while the other command values stay at representative defaults.

ZPLcaret-mp-a-3.zpl
^MPM

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.