The following table provides an overview of the supported HP-GL/2 commands.
Optional parameters are shown in brackets.
|
Command |
Mnemonic |
Parameter |
|---|---|---|
|
Absolute Character Size |
SI |
[width,height]; |
|
Absolute direction |
DI |
[run,rise]; |
|
Alternate Font Definition |
AD |
[kind,value...[,kind,value]]; |
|
Character Fill Mode |
CF |
[fill mode[,edge pen]]; |
|
Character Plot |
CP |
[spaces,lines]; |
|
Character Slant |
SL |
[tangent of angle]; |
|
Define Label Terminator |
DT |
[lbterm[,mode]]; |
|
Define Variable Text path |
DV |
[path[,line]]; |
|
Extra Space |
ES |
[width[,height]]; |
|
Label |
LB |
[char...[char]]lbterm; |
|
Label Origin |
LO |
[position]; (range 1-9,11-19, 21) |
|
Relative Character Size |
SR |
[width,height]; |
|
Relative Direction |
DR |
[run,rise]; |
|
Scalable/Bitmapped Fonts |
SB |
0 or 1 |
|
Select Alternate Font |
SA |
; |
|
Select Standard Font |
SS |
; |
|
Select Primary Font |
FI |
Font ID |
|
Select Secondary Font |
FN |
Font ID |
|
Standard Font Definition |
SD |
[kind,value...[,kind,value]]; |
|
Transparent Data |
TD |
[mode]; |