^MT — Media Type: ribbon or direct thermal

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^MT — Media Type: ribbon or direct thermal

Goal

Select ribbon or direct thermal media with ^MT.

Description

^MT declares the media: T for thermal-transfer (uses a ribbon) or D for direct-thermal (no ribbon). (It is not a mark-sensing command.)

Example

^XA
^MTT
^FX T = Thermal Transfer (uses a ribbon). D = Direct Thermal.
^FO20,20^A0N,28,28^FDTransfer media^FS
^XZ

Rendered ^MT label

Result

Transfer mode selected; the text prints either way — the ribbon does the work.

Article author: Arthur Isaev

Banner image