Print Control

^MNMedia Tracking

Tells the printer how to detect the top of each label.

Category
Print Control
Syntax
^MNa,b

What ^MN does

^MN sets the media-tracking mode so the printer knows whether the stock is continuous, gap/notch, or has a black mark. Matching this to your labels is essential for correct label registration.

Syntax

^MNa,b

Parameters

ParameterDescriptionValuesDefault
aMedia typeN continuous, Y/W web (gap), M mark, A autoY
bBlack mark offset in dots (optional)

Example

^XA
^MNY
^XZ

Paste this into the free ZPL viewer to see it render, or convert it to PDF.

Notes & tips

  • Set N (continuous) with ^LL for continuous stock.
  • Use M for black-mark media.

See the full ZPL command reference for all 92 documented commands.

Work with your labels, not just read about them

Zentralabel converts, previews, validates, and enriches ZPL labels right in your browser — free tools for one-offs, batch processing for scale.