Skip to content
WiFiLabel

zpl.relative_darkness

Relative darkness in tenths, matching the relative ZPL command.

Relative darkness is the SGD cousin of the relative media-darkness command. The stored integer is in tenths: 10 means one darkness step, and the documented window runs from -300 to 300. It adds to the current base rather than replacing it. Sending it twice applies two adjustments. Desktop models often keep the result. Industrial models may not. Read it back after a set, then save if your workflow needs it after power loss. This library checks the -300 to 300 window and does not scale the number for you. Pass tenths, not a 0 to 30 absolute level.

Syntax

! U1 getvar "zpl.relative_darkness"

Typeint
Range-300 to 300 tenths
Accessgetvar, setvar

Example

Read this setting

! U1 getvar "zpl.relative_darkness"
Send to my printer

Related fixes

See also

Source: Zebra documentation

Free and open source (MIT). GitHub. Made by WiFiLabel

Zebra, ZPL, and Link-OS are trademarks of Zebra Technologies. Not affiliated with Zebra Technologies.

This page uses Vercel Web Analytics. We record tool actions such as connect and calibrate. Analytics never include serial numbers, IP addresses, or label text. A label preview is sent to Labelary only while that checkbox is on.