ZEBRA MZ 320 3" 4mb Direct Mobile Thermal Receipt Printer With Bluetooth

Programming Manual - Page 227

For MZ 320.

PDF File Manual, 497 pages, Read Online | Download pdf file

MZ 320 photo
Loading ...
Loading ...
Loading ...
Mobile Printing Systems
CPCL Programming Manual
Section 14
Configuration/
Control
Commands
pg. 14-1
continued
CONFIGURATION/CONTROL COMMANDS
Introduction
The following section covers a set of commands to configure and query printer parameters and perform
various printer control functions. Examples of this set of commands include setting printers IP address,
querying printers 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)
Note: Software applications for all QL Plus, RW, MZ, P4T, and EZ320 printers support Set-Get-Do command functionality.
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 specied in lower-case.
Parameter values should be specied 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:
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.
Loading ...
Loading ...
Loading ...