Skip to command documentation
Device onlyprinterdevicesession scope
^MT

Media Type

^MT configures media Type. 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
^MTa
a

Media type used

Sets media type used. It can be omitted when the documented default is suitable.

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

a variations

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

Side-by-side comparison2 variations

a = T

Uses T for media type used while the other command values stay at representative defaults.

ZPLcaret-mt-a-1.zpl
^MTT

a = D

Uses D for media type used while the other command values stay at representative defaults.

ZPLcaret-mt-a-2.zpl
^MTD

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.