What ^MD does
^MD adds or subtracts darkness relative to the printer's configured setting. Increase it for faint prints or fast speeds; decrease it if bars bleed together. It's the main lever for barcode contrast and scannability.
Syntax
^MDaParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
a | Darkness adjustment | -30 to 30 | 0 |
Example
^XA
^MD10
^FO50,50^BY2^BCN,100,Y,N,N^FD123456^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Related commands
See the full ZPL command reference for all 92 documented commands.
