Skip to command documentation
Device onlyprinterdevicesession scope
^MI

Set Maintenance Information Message

^MI configures set Maintenance Information Message. 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
^MItype,message
type

Identifies the type of alert

Sets identifies the type of alert. It can be omitted when the documented default is suitable.

Default
R
Required
No
Documented valuesRC

type variations

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

Side-by-side comparison2 variations

type = R

Uses R for identifies the type of alert while the other command values stay at representative defaults.

ZPLcaret-mi-type-1.zpl
^MIR,HEAD

type = C

Uses C for identifies the type of alert while the other command values stay at representative defaults.

ZPLcaret-mi-type-2.zpl
^MIC,HEAD
message

Message that prints on the label when a maintenance alert occurs

Sets message that prints on the label when a maintenance alert occurs. It can be omitted when the documented default is suitable.

Default
HEAD CLEANING = please clean printhead HEAD REPLACEMENT = please replace printhead
Required
No
Documented valuesHEADCLEANINGREPLACEMENT

message variations

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

Side-by-side comparison2 variations

message = HEAD

Uses HEAD for message that prints on the label when a maintenance alert occurs while the other command values stay at representative defaults.

ZPLcaret-mi-message-1.zpl
^MIR,HEAD

message = CLEANING

Uses CLEANING for message that prints on the label when a maintenance alert occurs while the other command values stay at representative defaults.

ZPLcaret-mi-message-2.zpl
^MIR,CLEANING

Primary source

Official Zebra reference

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

Open Zebra documentation