APPENDICES
HP-GL/2 Command Sets
Command | Mnemonic | Parameters |
|
Dual Context Extensions |
|
|
|
ENTER PCL MODE | ESC % # A | ||
|
| and palette | |
|
| ||
|
| palette |
|
RESET | ESC E | None |
|
PRIMARY FONT | FI | Font_ID |
|
SECONDARY FONT | FN | Font_ID |
|
SCALABLE OR BITMAPPED FONTS | S B | ||
|
| ||
|
|
|
|
Palette Extensions |
|
|
|
TRANSPARENCY MODE | TR | ||
|
| ||
SCREENED VECTORS | SV | [screen_type [, shading [, index]]] | |
Vector Group |
|
|
|
ARC ABSOLUTE | AA | x_center, y_center, sweep_angle | |
|
| [, chord_angle]; | |
ARC RELATIVE | AR | x_increment, y_increment, sweep_angle | |
|
| [, chord_angle]; | |
ABSOLUTE ARC THREE POINT | AT | x_inter, y_inter, x_end, y_end | |
|
| [,chord_angle]; | |
BEZIER ABSOLUTE | B Z | x1_control_pt, y1_control_pt | |
|
| x2_control_pt, y2_control_pt | |
|
| x3_control_pt, y3_control_pt | |
|
| [, params … [, parms ]]. | |
BEZIER RELATIVE | BR | x1_control_pt_increments, | |
|
| y1_control_pt_increments, | |
|
| x2_control_pt_increments, | |
|
| y2_control_pt_increments, | |
|
| x3_control_pt_increments, | |
|
| y3_control_pt_increments | |
|
| [, params … [, parms ]]; PLOT | |
ABSOLUTE | PA | [x, y … [, x, | y]]; |
PLOT RELATIVE | PR | [x, y … [, x, | y]]; |
PEN DOWN | PD | [x, y … [, x, y]]; | |
PEN UP | PU | [x, y … [, x, y]]; | |
RELATIVE ARC THREE POINT | RT | x_incr_inter, y_incr_inter, x_incr_end, | |
|
| ||
POLYLINE ENCODED | PE | [flag [val]coord_pair … | |
|
| [flag[val]coord_pair ]]; | |
Polygon Group |
|
|
|
CIRCLE | CI | radius [, chord_angle]; | |
FILL RECTANGLE ABSOLUTE | RA | x_coordinate, y_coordinate; | |
FILL RECTANGLE RELATIVE | RR | x_increment, y_increment; | |
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]; | |
|
|
|
|