9
Using Different Printer Language Modes
9-8
Phaser 220 Drivers and Utilities
HP-GL pen color values
Color
Red value
red
1.0
green
0.0
blue
0.0
yellow
1.0
magenta
1.0
cyan
0.0
white
1.0
black
0.0
To add a new pen, you must redeÞne pens 0 through 7 Þrst, then add the
new pens that you want.
To set pen widths and colors to values other than those in HPGLPENS.PS, do
the following steps:
1.
ConÞgure the printer port to receive PostScript.
2.
Edit the Þle and substitute the values that you want for those in
the Þle. Color values can be any decimal number between 0.0
and 1.0.
For example, to change pen 4 to a purple color and a width of
.5 mm, edit HPGLPENS.PS and change the line for pen number 4
to the following:
4 0.5 1.0 0.0 0.5
Green value
Blue value
0.0
0.0
1.0
0.0
0.0
1.0
1.0
0.0
0.0
1.0
1.0
1.0
1.0
1.0
0.0
0.0