Printer User Manual
HP-GL/2 COMMAND QUICK REFERENCE
Table B-3. HP-GL/2 Polygon Group commands
Syntax Name # value
EA X,Y[;] Edge Rectangle Absolute X,Y are the coordinates of the opposite corner of the
rectangle
ER X,Y[;] Edge Rectangle Relative X,Y are the coordinates of the opposite corner of the
rectangle
EW
radius,start
angle,
sweep angle,
[,chord
angle][;]
Edge Wedge radius -2
30
to +2
30
-1
start angle -32768 to +32767
sweep angle ± 360
chord angle 0.5 to 180
EP [;] Edge Polygon
FP [;] Fill Polygon
PM polygon
definition[;]
Polygon Mode 0 Clears the polygon buffer and enters Polygon
mode
1 Closes the current polygon or subpolygon and
remains in Polygon mode
2 Closes the current polygon or subpolygon and
exits Polygon mode
RA X,Y[;] Fill Rectangle Absolute X,Y are the coordinates of the opposite corner of the
rectangle
RR X,Y[;] Fill Rectangle Relative X,Y are the coordinates of the opposite corner of the
rectangle
WG
radius,start
angle,
sweep angle
[,chord
angle][;]
Fill Wedge radius -2
30
to +2
30
-1
start angle -32768 to +32767
sweep angle ± 360
chord angle 0.5 to 180
B-4 XEROX MRP FAMILY PCL 5 AND POSTSCRIPT PRINTER LANGUAGE REFERENCE