Skip to command documentation
Device onlyprinterdevicesession scope
^MA

Set Maintenance Alerts

^MA configures set Maintenance Alerts. 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
^MAtype,print,printlabel_threshold,frequency,units
type

Type of alert

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

Default
This parameter must be specified as R or C for print , printlabel_threshold , and frequency to be sa
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 type of alert while the other command values stay at representative defaults.

ZPLcaret-ma-type-1.zpl
^MAR,N,R,0,I

type = C

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

ZPLcaret-ma-type-2.zpl
^MAC,N,R,0,I
print

Determines if the alert prints a label

Sets determines if the alert prints a label. It can be omitted when the documented default is suitable.

Default
N
Required
No
Documented valuesNY

print variations

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

Side-by-side comparison2 variations

print = Y

Uses Y for determines if the alert prints a label while the other command values stay at representative defaults.

ZPLcaret-ma-print-1.zpl
^MAR,Y,R,0,I

print = N

Uses N for determines if the alert prints a label while the other command values stay at representative defaults.

ZPLcaret-ma-print-2.zpl
^MAR,N,R,0,I
printlabel_threshold

The distance where the first alert occurs

Sets the distance where the first alert occurs. It can be omitted when the documented default is suitable.

Default
R = 50 km (1,968,500 inches) and C = 0 (off)
Required
No
Documented valuesRC0

printlabel_threshold variations

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

Side-by-side comparison2 variations

printlabel_threshold = R

Uses R for the distance where the first alert occurs while the other command values stay at representative defaults.

ZPLcaret-ma-printlabel-threshold-1.zpl
^MAR,N,R,0,I

printlabel_threshold = C

Uses C for the distance where the first alert occurs while the other command values stay at representative defaults.

ZPLcaret-ma-printlabel-threshold-2.zpl
^MAR,N,C,0,I
frequency

Distance before reissuing the alert

Sets distance before reissuing the alert. It can be omitted when the documented default is suitable.

Default
0 (print on power-up)
Required
No
Documented values0

frequency variations

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

Side-by-side comparison2 variations

frequency = 0

Uses 0 for distance before reissuing the alert while the other command values stay at representative defaults.

ZPLcaret-ma-frequency-1.zpl
^MAR,N,R,0,I

frequency = 1

Uses 1 for distance before reissuing the alert while the other command values stay at representative defaults.

ZPLcaret-ma-frequency-2.zpl
^MAR,N,R,1,I
units

Odometer and printhead maintenance commands

Sets odometer and printhead maintenance commands. It can be omitted when the documented default is suitable.

Default
I
Required
No
Documented valuesICM

units variations

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

Side-by-side comparison3 variations

units = C

Uses C for odometer and printhead maintenance commands while the other command values stay at representative defaults.

ZPLcaret-ma-units-1.zpl
^MAR,N,R,0,C

units = I

Uses I for odometer and printhead maintenance commands while the other command values stay at representative defaults.

ZPLcaret-ma-units-2.zpl
^MAR,N,R,0,I

units = M

Uses M for odometer and printhead maintenance commands while the other command values stay at representative defaults.

ZPLcaret-ma-units-3.zpl
^MAR,N,R,0,M

Primary source

Official Zebra reference

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

Open Zebra documentation