SETTING DEFAULT HP-GL PEN COLORS
531
In the
HPGLPENS.PS
file, pen number, pen width, red value, green value, and blue
value are listed in parentheses after /ColorSetup, as shown below:
/ColorSetup (pen_number width red_value
green_value blue_value...)
In the following example, all pen widths are set to 0.35 millimeters. Pen 0 is white
(this is the background pen color), pen 1 is black, pen 2 is red, pen 3 is green, pen
4 is blue, pen 5 is cyan, pen 6 is magenta, and pen 7 is yellow.
CTRL-D
(%HP7475A%) << /Password ()
/ColorSetup (0 0.35 1.0 1.0 1.0
1 0.35 0.0 0.0 0.0
2 0.35 1.0 0.0 0.0
3 0.35 0.0 1.0 0.0
4 0.35 0.0 0.0 1.0
5 0.35 0.0 1.0 1.0
6 0.35 1.0 0.0 1.0
7 0.35 1.0 1.0 0.0)
>> setdevparams
CTRL-D