H P - G L / 2 P r i n t e r C o m m a n d s
A p p e n d i x A : P r i n t e r C o m m a n d s
❖
A-15
Edge Rectangle Absolute
EA
x_coordinate, y_coordinate;
Edge Rectangle Relative
ER
x_increment, y_increment;
Fill Wedge
WG
radius, start_angle, sweep_angle [,chord_angle];
Edge Wedge
EW
radius, start_angle, sweep_angle [,chord_angle];
Polygon Mode
PM
polygon_definition;
Fill Polygon
FP
0 - Odd/Even
1 - non-zero winding
Edge Polygon
EP
None
CONFIGURATION AND STATUS GROUP
* Parameters in brackets are optional
Scale
SC
[x1, x2, y1, y2 [,type [,left, bottom]]];
or
[x1,xfactor,y1,yfactor,2];
Input Window
IW
[xLL,yLL,xUR,yUR];
Input P1 and P2
IP
[p1x, p1y [,p2x, p2y]];
Input Relative P1 and P2
IR
[p1x, p1y [,p2x, p2y]];
Default Values
DF
None
Initialize
IN
[n];
Rotate Coordinate System
RO
[angle];
Comment
CO
“text ... text:
CHARACTER GROUP
* Parameters in brackets are optional
Select Standard Font
SS
Select Alternate Font
SA
Absolute Direction
DI
[run, rise];
Relative Direction
DR
[run, rise];
Absolute Character Size
SI
[width, height];
Relative Character Size
SR
[width, height];
Character Slant
SL
[tangent_of_angle];
Extra Space
ES
[width [,height]]
Standard Font Definition
SD
[kind, value . . . [,kind, value]];
Alternate Font Definition
AD
[kind, value . . . [,kind, value]];
Character Fill Mode
CF
[fill_mode [,edge_pen]];
Label Origin
LO
[position];
Label
LB
[char . . . [char]]1bterm
Define Label Terminator
DT
[1bterm [,mode]];
Character Plot
CP
[spaces, lines];
Table A.2
HP-GL/2 Context Printer Commands
(continued)
Command
Mnemonic
Parameters
Table A.2 Page 2 of 3
4508-apa.frm Page 15 Wednesday, May 22, 1996 8:25 AM