6530 Programmer's Guide
Conversational Mode Operation
2-32
6530 Programmer’s Guide
The following example sets the form feed for a printer associated with
the Auxl device:
Esc x T2 G1 CR
Read String Configuration Parameter (Esc - d)
The Esc - d sequence causes the 6530 to transmit the current values for
the configuration parameters with string values. The escape sequence has
the following format:
Esc -
pn
d
where:
pn
is an ASCII digit from 0 through 7 that specifies the
parameter(s) to be read as follows:
0 = read all seven string parameters
1 = read window name parameter (string value up to 26 characters)
2 = read resource name parameter (string value up to 34 characters)
3 = read host name parameter (string value up to 8 characters)
4 = read start up string parameter (string value up to 128 characters)
5 = read transmit line parameter (string value up to 80 characters)
6 = read device name parameter (string value up to 8 characters)
7 = read session name parameter (string value up to 16 characters)
If the pn parameter is missing or greater than 7, all seven parameter
values are returned. The message returned has the following general
format:
SOH (
string DC2
[string DC2] ... CR
where:
SOH is a control character (01H) that acts as a start of header for
messages returned to the host.
The left parenthesis ( ( ) identifies this message as a string value
configuration message.
string
is the ASCII character string value for the parameter(s)
read. When all seven parameters are returned, they are returned in
the order specified by pn as listed above.
DC2 is a control character (12H) that acts as a delimiter for the
string values.