Skip to command documentation
Device onlyprinterdevicesession scope
~PM

Decommissioning Mode

~PM configures decommissioning Mode. 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
~PMa,b
a

Printer’s serial number

Sets printer’s serial number. It must be supplied.

Required
Yes
Documented values0

a variations

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

Side-by-side comparison2 variations

a = 0

Uses 0 for printer’s serial number while the other command values stay at representative defaults.

ZPLtilde-pm-a-1.zpl
~PM0,0

a = 1

Uses 1 for printer’s serial number while the other command values stay at representative defaults.

ZPLtilde-pm-a-2.zpl
~PM1,0
b

Number of times for the flash wipe-out to occur

Sets number of times for the flash wipe-out to occur. It can be omitted when the documented default is suitable.

Required
No
Documented values0

b variations

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

Side-by-side comparison2 variations

b = 0

Uses 0 for number of times for the flash wipe-out to occur while the other command values stay at representative defaults.

ZPLtilde-pm-b-1.zpl
~PM0,0

b = 1

Uses 1 for number of times for the flash wipe-out to occur while the other command values stay at representative defaults.

ZPLtilde-pm-b-2.zpl
~PM0,1

Primary source

Official Zebra reference

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

Open Zebra documentation