Here are the two ZPL commands that can be used to adjust the darkness setting:
Using ^MD
The ^MD command adjusts the darkness relative to the current darkness setting. (It adds or subtracts from the darkness value configured on the printer.)
For example: ^XA^MD15^JUS^XZ
| NOTE The ^MD is persistent across all label formats until a new ^MD command is issued or the printer power is cycled. This applies to all ZPL printers except the G-Series printers. The G-Series printer stores the ^MD value and will retain the setting through a power cycle. |
Using~SDThe
~SD command allows you to set the darkness at the printer's darkness setting. The value will be displayed on the printer LCD (if available) or the configuration label.
For example: ~SD15
Helpful Information: