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,bParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
a | Media type | N continuous, Y/W web (gap), M mark, A auto | Y |
b | Black mark offset in dots (optional) | — | — |
Example
^XA
^MNY
^XZPaste 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.
Related commands
See the full ZPL command reference for all 92 documented commands.
