EasyManuals Logo

HP 2624 User Manual

HP 2624
122 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #80 background imageLoading...
Page #80 background image
~
______________________
St_a_tu_s~I~1
V~II~I
INTRODUCTION
This
section
tells
how a
program
executing
in
a
host
com-
puter
obtains
and
interprets
status
information
from
the
HP
2624A.
Status
requests
are
issued
in
the
form
of
escape sequences.
There
are
four
types
of
status
requests:
1.
Terminal
ID
Status.
This
request
is
the
means
by
which
your
program
verifies
what
kind
of
terminal
it
is
communicating
with.
2.
Primary
Terminal
Status.
This
request
returns
seven
bytes
that
report
the
status
of
configuration
straps
A-H,
some
of
the
latching
keys,
and
various
error
and
pending
flags.
3.
Secondary
Terminal
Status.
This
request
returns
seven
bytes
that
report
the
status
of
configuration
straps
J-Wand
the
memory lock feature.
4.
Device
Status.
This
request
returns
three
bytes
that
report
the
status
of
the
integral
and/or
external
printers.
The
escape sequence
used
for
each
of
the
above
requests
and
the
format
of
the
returned
status
information
is
presented
on
the
pages
that
follow.
All
status
requests
are
treated
as
block
transfers.
In
response to a
status
request,
the
terminal
transmits
an
escape sequence followed
by
a
series
of
bytes followed
by
a
terminator.
The
terminator
is as follows:
Character
Mode:
<CR>
or
<CR><LF>
Block
Line
Mode:
<CR>
or
<CR><LF>
Block
Page
Mode:
<Bl
kTermnator>
In
either
character
mode
or
block
line
mode,
the
<CR><LF>
is
used
if
auto
line
feed mode
is
enabled.
In
block page
mode,
the
block
terminator
is
the
character
specified
in
the
Bl
kTermnator
field of
the
Terminal
Configuration
menu
«RS>
is
the
default
for
that
field).
The
type
of
handshaking
used
is
determined
by
the
setting
of
the
InhHndShk(G}
and
I
nh
DC2(H}
fields of
the
Terminal
Configuration
menu
as
follows:
InhHndShk(G}
Inh
DC2(H}
InhHndShk(G}
Inh
DC2(H}
-YES
}
=YES
No
handshake
-NO }
DCl
-YES
or
NO
InhHndShHG}
InhDC2(H}
·YES
}
=1'10
INTERPRETING STATUS
DC
lIDC2/DC 1
For
primary,
secondary,
and
device
status
requests,
the
terminal
returns
an
escape sequence followed
by
a
string
of
bytes. The
status
information
is contained
in
the
lower four
bits
of
each
byte.
The
upper
four
bits
are
set
so
that
the
byte
translates
into one
of
the
16 ASCII
characters
shown
in
table
8-1.
Table 8-1. ASCII
Status
Characters
ASCII CHARACTER
BINARY
0
0011 0000
1
0011 0001
2
0011
0010
3
0011
0011
4
0011
0100
5
0011 0101
6
0011
0110
7
0011
0111
8
0011 1000
9
0011
1001
0011 1010
0011 1011
<
0011
1100
=
0011
1101
>
0011
1110
?
0011
1111
For
a
terminal
ID
request,
the
terminal
returns
the
5-character ASCII
string
"2624A".
TERMINAL ID STATUS
You
request
the
terminal
ID
status
by
issuing
the
following
escape sequence:
<ESC>*!!
[<parameter>]A
where
<parameter>,
if
present,
is ignored.
8-1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 2624 and is the answer not in the manual?

HP 2624 Specifications

General IconGeneral
BrandHP
Model2624
CategoryTouch terminals
LanguageEnglish

Related product manuals