The following table provides an overview of the supported HP-GL/2 commands.
Optional parameters are shown in brackets.
Command |
Mnemonic |
Parameter |
---|---|---|
Arc Absolute |
AA |
xcenter, ycenter, sweep angle [,chord angle]; |
ARC Relative |
AR |
xincr, yincr, sweep angle [,chord angle]; |
Absolute Arc Three Point |
AT |
xinter, yinter, xend, yend [,chord angle]; |
Circle |
CI |
radius [,chord angle]; |
Pen Down |
PD |
[x,y...[x,y]]; |
Pen Up |
PU |
[x,y...[x,y]]; |
Plot Absolute |
PA |
[x,y...[x,y]]; |
Plot Relative |
PR |
[x,y...[x,y]]; |
Relative Arc Three Point |
RT |
xincr inter,yinc inter, xincr end, yincr end [,chord angle]; |
Polyline Encoded |
PE |
[flag[val] | coord pair... [flag[val] | coord pair...]] |
Bezier Absolute |
BZ |
[x,y...[x,y]]; |
Bezier Relative |
BR |
[x,y...[x,y]]; |