Printer User Manual
HP-GL/2 COMMAND QUICK REFERENCE
Table B-4. HP-GL/2 Line and Fill Attributes Group commands
(continued)
Syntax Name # value
TR [n][;] Transparency Mode n is:
0 Transparency mode=off
1 Transparency mode=on (default)
UL
[index[,gap
1...gapn]][;]
User Defined Line Type index Line pattern number [1-8]
gap Percentage of pattern length for that
portion (first gap is a pen-down move)
WU [type][;] Pen Width Unit Selection
type is:
0 Millimetres
1 Percentage of P1/P2 distance
Table B-5. HP-GL/2 Character Group commands
Syntax Name # value
AD [kind,
value...
[,kind,
value]][;]
Alternate Font Definition 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
CF [fill
mode[,edge
pen*]][;]
Character Fill Mode 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
CP [spaces,
lines][;]
Character Plot
Spaces are -32768 to +32767
lines are -32768 to +32767
DI
[run,rise][;]
Absolute Label Direction
run X - component of the label direction or
COSINE of the angle
rise Y - component of the label direction or SINE
of the angle
DR
[run,rise][;]
Relative Label Direction
run Percentage of distance between P1X and P2X
rise Percentage of distance between P1Y and P2Y
B-6 XEROX MRP FAMILY PCL 5 AND POSTSCRIPT PRINTER LANGUAGE REFERENCE