Xerox -07W & -11W Printer User Manual


 
12-55
Creating A Script File
text box by the user to be stored in the string variable result when the Ok button is
pressed.
password "Password" "Enter your password:" result 100 100
The Error Numbers section later in this chapter lists possible error numbers.
PGET
Syntax: PGET <variable> <groupID> <paramID>
This command enables you to get most terminal emulation setup parameters and the
current values of some attributes, where
<variable> is a previously defined variable (see var).
<groupID> identifies a group of parameters (e.g. host settings).
<paramID> identifies the particular parameter (e.g. baud rate).
For example, to get the current baud rate setting and place it in the previously defined
variable called speed you would enter the following:
pget speed host baud
where host is the group ID and baud is the parameter ID.
Refer to the section entitled PGET & PSET Parameters & Values at the end of this
chapter for a complete list of group ID's, parameter ID's and values that will be
returned. Note that the values will be returned in their full, non-abbreviated versions,
with the abbreviation characters in uppercase and the remainder in lowercase. If you
require the value to be returned entirely in uppercase, use the -su command line
option or ScriptUppercase=on initialization file command.
PSET
Syntax: PSET <groupID> <paramID> <value>
This command enables you to set most terminal emulation setup parameters and the
current values of some attributes, where
<groupID> identifies a group of parameters (e.g. host settings).
<paramID> identifies the particular parameter (e.g. baud rate).
<value> is the value to be set (e.g. 9600).
For example, to specify that the baud rate is to be set to 4800 you would enter the
following:
pset host baud 9600
where host is the group ID, baud is the parameter ID, and 9600 is the value.