Chapter 13— Configuration/Control Commands
What are the Commands in This Chapter?
Printing Parameter Values
118
The following chapter 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 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.
Three commands are available: setvar, getvar, and do. The following table
describes each command.
Command
Description
setvar
These commands are used to configure printer operating parameters
to specified values.
getvar
These commands are used to query the printer for its parameter
values.
do
These commands are used to instruct the printer to perform various
functions.
Entering the line
!<vnd.zo.parameter name
the value of the parameter specified by
This line is analogous to the
in Chapter 12, "LCD Programming for PL-Series," but it instructs the
printer to print the specified parameter rather than display it.
The next example shows a sample command to obtain and print a
hypothetical printer's IP address (parameter name equals ip.addr) both in
human readable text and bar code format.
Printing Parameter Values Example
Input:
! 0 200 200 250 1
JOURNAL
CENTER
T 5 0 0 110 !<vnd.zo.ip.addr
B
128 1 1 50 10 50 !<vnd.zo.ip.addr
PRINT
Output:
EasyCoder PL-Series Printer Programmer's Reference Manual
in a label file (.LBL) prints
parameter name
$(vnd.zo.parameter name)
.
string detailed