Device Status - HP 2624 Manual

Display terminals
Table of Contents

Advertisement

Status
DEVICE STATUS
The status of the integral printer or an external printer
can be obtained by issuing a device status request. This
request would typically be made following a print opera-
tion or after examining bytes 5 and 6 of the terminal
status. The device status bytes are shown on page 8-7.
You request device status by issuing the following escape
sequence:
<ESC)&p <device code)"
where
<device code)
is either 4 or 6. Unless device code 4
COMPUTER
ESC & p6
1\
OCt
..
ESC \
p6 081 CR
8yte 0
J
L
ayte 2
BYTE
ASCII
BINARY
has been redefined by way of the Terminal Configuration
menu, the two codes are interpreted as follows:
4
=
external printer
6
=
integral printer
If<device code)
is any value other than 4 or 6, the escape
sequence is ignored.
The terminal responds with the sequence
<ESC)\p<device
code)
followed by three status bytes followed by a ter-
minator. A typical device status request and response are
illustrated in figure 8-3.
TERMINAL
PRINTER
STATUS
0
0
- - No print 'error
8
"1
000
Last print command performed
2
- - Printer is on-line
Figure 8-3. Device Status Example
8-6
(
(
(

Advertisement

Table of Contents
loading

Table of Contents