Plain English

Sets the maximum label length the printer will accept. If a format exceeds this, the printer rejects it. A safety limit to prevent runaway feeding.

When to use

As a safety measure — prevents a corrupt or malicious format from feeding the entire roll.

Syntax

^MLn

Parameters

ParameterDescription
nMaximum length in dots

Example

^XA
^ML2400
^XZ

Set maximum label length to 2400 dots (about 12 inches at 203dpi)

Try it in the playground View all ZPL commands