Variable zpl_command_mask – CognitiveTPG DLXi User Manual
Page 269
![background image](/manuals/334304/269/background.png)
P R I N T E R S E T U P
260
Revision F, January 2012, CognitiveTPG
VARIABLE ZPL_COMMAND_MASK
Function
Locks out some ZPL configuration commands,
allowing for equivalent CPL configurations to be
used without the need to make application changes.
Explicit Form
Implicit Form
VARIABLE ZPL_COMMAND_MASK mask
V ZPL_COMMAND_MASK mask
Parameters
mask
mask is sum or’ing of desired fields.
0x0001 - Ignore ^MD/~SD
0x0002 - Ignore ^PW
0x0004 - Ignore ^LL
0x0008 - Ignore ^PR
0x0010 - Ignore ^LS
0x0020 - Ignore ^LH
0x0040 – Ignore ~TA
0x0080 – Ignore ^MT
0x0100 – Ignore ^CI
?
– Returns current setting.
Comments This
command
is
used to prevent runtime
commands from modifying the configuration. When
ignoring the ^CI command, the CPL code page is
used, rather than the ZPL code page.
To clear all, use parameter of 0x0.
When using this command, send it to the printer
with VARIABLE WRITE in a non-printing label
format. Do not use this command in stored label
formats.
Example
The following command sets the printer to ignore
print width (^PW) in label formats:
! 0 0 0 0
VARIABLE ZPL_COMMAND_MASK 0x0002
VARIABLE WRITE
END