Read Display Size (Parameter = 5; Read Device Capabilities (Parameter=6 - HP 262SA Reference Manual

Dual-system display terminal and word-processing terminal
Table of Contents

Advertisement

Graphics
Read Graphics Cursor with Wait Request:
Ec
*
5
4
A
The terminal responds:
<X>, <V>, <key code> <termi nator>
where
<x>
=
X coordinate
<v>
=
Y coordinate
<key code> =
Decimal value of key struck
For example, if you position the cursor at the lower left corner of the screen then press the cW'
key, the terminal responds:
+00000, +00000, 065 CR
The position bytes are ordered as in the read pen request (Parameter 2). The decimal values for
ASCII characters are given in the Roman 8 character set table in Appendix B.
Read Display Size (Parameter= 5)
This request returns the number of displayable units in the X and Yaxes. It also returns the
number of units per millimeter in the display. This request allows you to scale data for use on
graphics devices with varying display area sizes.
Read Display Size Request:
Ec
*
5
5
A
The terminal responds:
<LLX>, <LLV>, <URX>, <URY>, <MMX> , <MMY><termi nat or >
Where:
<LLX> ,<URX>
=
Lower left and upper right X coordinates
<LL v> ,<URV>
=
Lower left and upper right Y coordinates
<MMX> ,<MMY>
=
Number of units per millimeter in the X and Yaxes (five digits and
a decimal point)
The terminal always returns a fixed response. The lower left corner has coordinates ofO,O. The
upper right corner has coordinates of 511,389. There are approximately 2 units per millimeter
in each axis.
Terminal response:
+00000, +00000, +00511, +00389, 00002.,
00002. <termi nator>
Read Device Capabilities (Parameter= 6)
The device capabilities request returns a list ofgraphics and plotting features available in the
terminal. This allows you to use one program for a variety of graphics devices. Not all the
features listed are available in the terminal. The absence of a feature is indicated by a zero (0).
If a feature is present, it may be necessary to send an additional request to determine the exact
capabilities present. Where multiple response values are possible, the terminal's standard
response is enclosed in triple stars.
Device Capability Request:
D-58
Ec
*
5
6
A

Advertisement

Table of Contents
loading

This manual is also suitable for:

2628a

Table of Contents