~SD — Set Darkness

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

~SD — Set Darkness

Goal

Set absolute print darkness with ~SD.

Description

~SD sets absolute print darkness from 00 to 30: the heat behind every dot. Note the tilde — it is a control command, while ^MD (lesson 16) only shifts darkness relatively.

Example

~SD15
^XA
^FX Darkness level 15 of 00-30.
^FO20,20^A0N,28,28^FDDarkness 15^FS
^XZ

Rendered ~SD label

Result

Darkness 15 baked in; compare with lesson 16's relative ^MD.

Article author: Arthur Isaev