EasyManua.ls Logo

Zebra CPCL - Page 234

Zebra CPCL
376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
P14-2 Mobile Printer CPCLProgramming Manual
getvar Command
The getvar command is used to get the current value of
printer parameters. This command must be terminated by
a CR/LF (0x0D, 0x0A). The printer will respond with the
parameter value of “?” if the parameter does not exist
(usually due to incorrect spelling of the parameter name)
or it has not been configured yet. The parameter name
should be specified in lower case.
Format:
getvar “{parameter name}”
{Parameter name} The name of the parameter to
be retrieved. Please refer to the parameter list for
valid parameter names.
setvar Command
The setvar command is used to set parameter values in
the printer. This command must be terminated by a CR/
LF (0x0D, 0x0A). The parameter name must be in lower
case. Parameter values must be specified in lower case,
unless the parameter value itself is case sensitive, such
as a printers WLAN eSSID.
Format:
setvar “{Parameter name}” “{Value}”
{Parameter name} The name of the parameter to
be set. Please refer to the parameter list for valid
parameter names.
{Value} The new value to assign to the specified
parameter above.
do Command
The do command can be used to instruct the printer to
perform predefined actions. Some do commands require
one or more parameters. These parameters should be

Related product manuals