Mobile Printer CPCLProgramming Manual P14-1
CONFIGURATION/CONTROL COMMANDS
Introduction
The following section covers a set of commands to con-
figure and query printer parameters and perform various
printer control functions. Examples of this set of com-
mands include setting printer’s IP address, querying
printer’s baud rate, or instructing the printer to advance
its media to top of form. This set of commands is referred
to as the set/get/do commands, and is available in the
printer applications version 40 and above.   The software
version can be ascertained by performing a two-key reset
as described in Section 1 of this manual.  The number in
the “Software:” listing on the second report must end in
40 or above (e.g. “Software: HTLK40d”)
These commands follow a standard format as described
below.
Note: All commands must be terminated with a CR/LF (0x0D, 0x0A). Actions
and parameter names must be specified in lower-case. Parameter values
should be specified in lower-case unless the parameter value itself is case
sensitive, such as a printer’s WLAN eSSID.
Command Format
Three commands are available: setvar, getvar, and do.
“setvar” commands are used to configure printer
operating parameters to specified values.
“getvar” commands are used to query the printer
for its parameter values.
“do” commands are used to instruct the printer to
perform various functions.
Entering the line !<[parameter] in a label file will print
the value of the parameter specified between “[ ]”
The formats of these commands are as follows:
continued on next page