Difference between revisions of "CodeChart:HP 2648A/HP 2648 Mode/ESC/Asterisk"

From Terminals
Jump to: navigation, search
m (set graphics default parameters)
m (plot commands)
Line 83: Line 83:
 
| style="padding: 1ex; text-align: center;" | <span id="plot-control">p</span>
 
| style="padding: 1ex; text-align: center;" | <span id="plot-control">p</span>
 
| style="padding: 1ex;" | Plot Control
 
| style="padding: 1ex;" | Plot Control
| style="padding: 1ex;" | ''parameters''
+
| style="padding: 1ex;" | [[#plot-commands|''command'' ...]]
 
|-
 
|-
 
| style="padding: 1ex; text-align: center;" | <span id="raster-dump-control">r</span>
 
| style="padding: 1ex; text-align: center;" | <span id="raster-dump-control">r</span>
Line 412: Line 412:
 
| style="padding: 1ex; text-align: center;" | 11
 
| style="padding: 1ex; text-align: center;" | 11
 
| style="padding: 1ex;" | Point plot
 
| style="padding: 1ex;" | Point plot
 +
|}
 +
 +
 +
==== <span id="plot-commands">ESC * p Plot Control Commands</span> ====
 +
 +
{| border="1"
 +
! style="padding: 1ex; text-align: center;" | Prefix
 +
! style="padding: 1ex;" | Description
 +
! style="padding: 1ex;" | Parameter
 +
|-
 +
| style="padding: 1ex; text-align: center;" | a
 +
| style="padding: 1ex;" | Lift the pen
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | b
 +
| style="padding: 1ex;" | Lower the pen
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | c
 +
| style="padding: 1ex;" | Use graphics cursor position as new point
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | d
 +
| style="padding: 1ex;" | Draw a single dot at the current pen position
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | e
 +
| style="padding: 1ex;" | Set relocatable origin to current pen position
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | f
 +
| style="padding: 1ex;" | Use ASCII absolute format
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | g
 +
| style="padding: 1ex;" | Use ASCII incremental format
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | h
 +
| style="padding: 1ex;" | Use ASCII relocatable format
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | i
 +
| style="padding: 1ex;" | Use binary absolute format
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | j
 +
| style="padding: 1ex;" | Use binary short incremental format
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | k
 +
| style="padding: 1ex;" | Use binary incremental format
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | l
 +
| style="padding: 1ex;" | Use binary relocatable format
 +
| style="padding: 1ex;" | ''none''
 +
|-
 +
| style="padding: 1ex; text-align: center;" | z
 +
| style="padding: 1ex;" | No operation
 +
| style="padding: 1ex;" | ''none''
 
|}
 
|}

Revision as of 02:58, 7 May 2012

Subpages of Asterisk

0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 E U e u
6 ACK SYN & 6 F V f v
7 BEL ETB ' 7 G W g w
8 BS CAN ( 8 H X h x
9 HT EM ) 9 I Y i y
10 LF SUB * : J Z j z
11 VT ESC + ; K [ k {
12 FF IS4 , < L \ l |
13 CR IS3 - = M ] m }
14 SO IS2 . > N ^ n ~
15 SI IS1 / ? O _ o DEL


ESC * Control Sequences

Prefix Description Parameters
a Autoplot command ...
b Raster Dump Transfer command ...
d Graphics Display Control command ...
l Graphics Text Label text CR
text CR LF
m Graphics Drawing Mode command ...
p Plot Control command ...
r Raster Dump Control parameter
s Graphics Status parameter
t Compatability Mode parameter


ESC * a Autoplot Commands

Prefix Description Parameters
a Start Autoplot none
b Stop Autoplot none
c Draw Autoplot Axes none
d Clear Menu none
f Display Autoplot Menu none
g Turn Off Autoplot Menu none
h Number of Columns byte1 ... byte5
i Column for X Data byte1 ... byte5
j Column for Y Data byte1 ... byte5
k Line Type byte1 ... byte5
l Min X byte1 ... byte15
m Max X byte1 ... byte15
n Min Y byte1 ... byte15
o Max Y byte1 ... byte15
p Units Between X Labels byte1 ... byte15
q Units Between X Tics byte1 ... byte5
r Units Between Y Labels byte1 ... byte15
s Units Between Y Tics byte1 ... byte5
t Skip Heading Lines byte1 ... byte5
u Number of Points byte1 ... byte5
v Draw Grid byte1 ... byte5
w Plot From Display byte1 ... byte5
z No Operation none


ESC * b Raster Dump Transfer Commands

Prefix Description Parameters
w Transfer Empty Scanline Data 0
w Transfer Scanline Data 90


ESC * d Graphics Display Control Commands

Prefix Description Parameters
a Clear Memory none
b Set Memory none
c Graphics Display On none
d Graphics Display Off none
g Zoom On none
h Zoom Off none
i Zoom Size size
j Zoom Position x y
k Graphics Cursor On none
l Graphics Cursor Off none
m Rubber Band Line On none
n Rubber Band Line Off none
o Move Absolute x y
p Move Relative x y


ESC * m Graphics Drawing Mode Commands

Prefix Description Parameter
a Select Drawing Mode drawing mode
b Select Line Type line type
c Define Line Pattern pattern scale
d Define Area Pattern row0 ... row7
e Area Fill, Absolute left bottom right top
f Area Fill, Relative left bottom right top
j Set Relocatable Origin x y
k Set Relocatable Origin to Pen Position none
l Set Relocatable Origin to Cursor Position none
m Set Graphics Text Size ?
n Set Graphics Text Direction ?
o Turn On Character Slant ?
p Turn Off Character Slant ?
q Set Text Origin ?
r Set Graphics Default Parameters none
z No Operation none
ESC * m a Drawing Modes
Value Description
0 No change
1 Clear
2 Set
3 Complement
4 Jam
ESC * m b Line Types
Value Description
1 Solid line
2 User defined line pattern
3 User defined area pattern
4 Predefined pattern #1
5 Predefined pattern #2
6 Predefined pattern #3
7 Predefined pattern #4
8 Predefined pattern #5
9 Predefined pattern #6
10 Predefined pattern #7
11 Point plot


ESC * p Plot Control Commands

Prefix Description Parameter
a Lift the pen none
b Lower the pen none
c Use graphics cursor position as new point none
d Draw a single dot at the current pen position none
e Set relocatable origin to current pen position none
f Use ASCII absolute format none
g Use ASCII incremental format none
h Use ASCII relocatable format none
i Use binary absolute format none
j Use binary short incremental format none
k Use binary incremental format none
l Use binary relocatable format none
z No operation none