USER’S GUIDE
Appendix–51
HP-GL Mode
Command Mnemonic Parameters
Vector Group
ARC ABSOLUTE AA x_center, y_center, sweep_angle [, chord_angle];
ARC RELATIVE AR x_increment, y_increment, sweep_angle [, chord_angle];
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]];
Polygon Group
CIRCLE CI radius [, chord_angle];
SHADE RECTANGLE ABSOLUTE RA x_coordinate, y_coordinate;
SHADE RECTANGLE RELATIVE RR x_increment, y_increment;
EDGE RECTANGLE ABSOLUTE EA x_coordinate, y_coordinate;
EDGE RECTANGLE RELATIVE ER x_increment, y_increment;
SHADE WEDGE WG radius, start_angle, sweep_angle [, chord_angle];
EDGE WEDGE EW radius, start_angle, sweep_angle [, chord_angle];
Character Group
SELECT STANDARD SET S S
SELECT ALTERNATE SET SA
ABSOLUTE DIRECTION DI [run, rise];
RELATIVE DIRECTION DR [run, rise];
ABSOLUTE CHARACTER SIZE SI [width, height];
RELATIVE CHARACTER SIZE S R [width, height];
CHARACTER SLANT S L [tangent_of_angle];
STANDARD SET DEFINITION CS [Designate_standard_character_set];
ALTERNATE SET DEFINITION CA [Designate_alternate_character_set];
LABEL L B [char … [char]] l bterm
DEFINE LABEL TERMINATOR DT [l bterm];
CHARACTER PLOT CP [spaces, lines];
USER DEFINED CHARACTER UC [[pen_control], x_increment, y_increment [, ... ]
[, pen_control][, ... ]];
Line and Fill Attributes Group
LINE TYPE LT [line_type [, pattern_length]];
PEN WIDTH PW [width [, pen]];
SELECT PEN S P [pen];
SYMBOL MODE SM [char];
FILL TYPE FT [fill_type [, option 1 [, option 2]]];
TICK LENGTH T L [tick_p [, tick_n]];
X TICK XT
Y TICK YT
PEN THICKNESS P T [fill_line_interval];
Configuration and Status Group
SCALE S C [x 1, x 2, y 1, y 2];
INPUT WINDOW IW [x L L, y L L, x U R, y U R];
INPUT P1 AND P2 IP [p 1 x, p 1 y [, p 2 x, p 2 y]];
DEFAULT VALUES DF ;
INITIALIZE IN ;
ROTATE COORDINATE SYSTEM RO [angle];
PAGE OUTPUT P G [copy_number];