The following table provides an overview of the supported HP-GL/2 commands.
Optional parameters are shown in brackets.
Command |
Mnemonic |
Parameter |
---|---|---|
Anchor Corner |
AC |
[xcoord,ycoord]; |
Fill Type |
FT |
[type[,option1[,option2]]]; |
Line Attributes |
LA |
[kind,value...[,kind,value]]; |
Line Type |
LT |
[line type [,pattern length[,mode]]]; |
Pen Width |
PW |
[width[,pen]]; |
Pen Width Unit Selection |
WU |
[type]; |
Raster Fill Definition |
RF |
[index,width,height,pen number...pen number]]; |
Select pen |
SP |
[pen]; |
Symbol mode |
SM |
[char]; |
User Defined Line Type |
UL |
[index[,gap1...gapn]]; |