zpl.relative_darkness

zpl.relative_darkness

Changes the relative darkness for ZPL labels. This command is similar to the ZPL
^MD
command.
This value is saved permanently on Desktop printers, but it is not saved permanently on Industrial or Mobile.

Setvar

To set the relative darkness for ZPL labels:
! U1 setvar "zpl.relative_darkness" "value"
Values
""
to
"300"
Default
"0"

Getvar

To return the current setting value:
! U1 getvar "relative_darkness"
Example
These examples show setting the printer to different darkness levels:
  • If the current value shown on the configuration label is
    "16"
    , using a
    zpl.relative_darkness
    command of
    "-90"
    decreases the value to
    "7.0"
    .
  • If the current value shown on the configuration label is
    "1"
    , using a
    zpl.relative_darkness
    command of
    "153"
    increases the value to
    "16.3"
    .
  • If the current value shown on the configuration label is
    "25"
    , using a
    zpl.relative_darkness
    command of
    "105"
    increases the value to
    "30.0"
    , which is the maximum value allowed.
Each
zpl.relative_darkness
command is treated separately in relation to the current value as printed on the configuration label.