beautypg.com

Setting default hp-gl pen colors – Tektronix PHASER 240 User Manual

Page 190

background image

C

Using Different Printer Language Modes

C-8

Phaser 240 Drivers and Utilities

Setting default HP-GL pen colors

Note

The HPGLPENS.PS file affects printer operation. If the printer is
shared on a network, using this file may affect the prints requested
from other users.

The HPGLPENS.PS file changes the color and width of the default pen
colors. The HP 7475A plotter actually has only six pens, but the printer's
emulation supports up to 256 pens.

The pen color change is persistent across jobs but not across printer power
cycles; it affects all HP-GL jobs that immediately follow it until the next
printer reset.

Note

HP-GL pen settings cannot be made persistent across power
cycles; pen settings revert to the default when the printer is
turned off.

In HPGLPENS.PS, 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 example below, 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