HP-GL/2 COMMAND QUICK REFERENCE
Syntax
TR [n][;]
UL
[index[,gap
1...gapn]][;]
WU [type][;]
Syntax
AD [kind,
value...
[,kind,
value]][;]
CF [fill
mode[,edge
pen*]][;]
CP [spaces,
lines][;]
DI
[run,rise][;]
DR
[run,rise][;]
B-6
Table B-4. HP-GL/2 Line and Fill Attributes Group commands
Name
Transparency Mode
User Defined Line Type
Pen Width Unit Selection
Table B-5.
Name
Alternate Font Definition
Character Fill Mode
Character Plot
Absolute Label Direction
Relative Label Direction
XEROX MRP FAMILY PCL 5 AND POSTSCRIPT PRINTER LANGUAGE REFERENCE
(continued)
# value
n is:
0
Transparency mode=off
1
Transparency mode=on (default)
index
Line pattern number [1-8]
gap
Percentage of pattern length for that
portion (first gap is a pen-down move)
type is:
0
Millimetres
1
Percentage of P1/P2 distance
HP-GL/2 Character Group commands
# value
Kind
Attribute
Value
1
Symbol Set
2
Font Spacing
0 (fixed); 1 (prop.)
3
Pitch
characters per inch
4
Height
font point size
5
Posture
0 (upright); 1 (italic)
6
Stroke Weight
0 (medium); 3 (bold)
7
Font
Fill Mode is:
0
Solid fill and edged
1
Edging with specified pen (or current pen if edge
pen parameter not specified); characters filled if
not edged
2
Fill with current fill type; characters are not edged
3
Fill with current fill type; edge characters with the
specified pen or current pen if edge pen
parameter is not specified
Edge Pen is:
0
No edging
1
Black edging
Spaces are -32768 to +32767
lines are -32768 to +32767
run
X - component of the label direction or
COSINE of the angle
rise
Y - component of the label direction or SINE
of the angle
run
Percentage of distance between P1X and P2X
rise
Percentage of distance between P1Y and P2Y