Table A-2.
HP-GL/2 Commands
COMMAND
Color Range
Number of Pens
Pen Color Assignment
Transparency Mode
Screened Vectors
Arc Absolute
Arc Relative
Absolute Arc Three Point
Bezier Absolute
Bezier Relative
Circle
Plot Absolute
Plot Relative
Pen Down
Pen Up
Relative Arc Three Point
Polyline Encoded
* Parameters in brackets are optional.
MNEMONIC
PALETTE EXTENSIONS
CR
[b_ref_red, w_ref_red, b_ref_grn, w_ref_grn, b_ref_blue, w_ref_blue];
NP
[n];
PC
[pen [,red, green, blue]];
TR
0 - Off (opaque)
1 - On (transparent)
SV
[screen_type[,shading[,index]]]
VECTOR GROUP
AA
x_center,y_center,sweep_angle [,chord_angle];
AR
x_increment,y_increment,sweep_angle [,chord_angle];
AT
x_inter,y_inter,x_end,y_end[,chord_angle];
BZ
x1_control_pt, y1_control_pt
x2_control_pt, y2_control_pt
x3_control_pt, y3_control_pt ...
[x1_control_pt, y1_control_pt
x2_control_pt, y2_control_pt
x3_control_pt, y3_control_pt];
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 ...
[x1_control_pt_increments,
y1_control_pt_increments,
x2_control_pt_increments,
y2_control_pt_increments,
x3_control_pt_increments,
y3_control_pt_increments];
CI
radius [,chord angle];
PA
[x,y ... [,x,y]];
PR
[x,y ... [,x,y]];
PD
[x,y ... [,x,y]];
PU
[x,y ... [,x,y]];
RT
x_incr_inter,y_incr_inter,x_incr_end,y_incr_end[,chord angle];
PE
[flag[val]|coord pair ... [flag[val]|coord pair]];
PARAMETERS*
Printer Commands A-19