Printers & Supplies
Solutions & Services
Customer Support
Partners
HP-GL pen settings cannot be made persistent across printer power cycles; pen settings revert to the default when the printer is turned off. To restore your pen settings, you must download your edited HPGLPENS.PS file to the printer whenever the printer has been turned off or reset.
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: 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.
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
Allowable values for pen numbers are 0 through 255. Pen width is measured in millimeters. Red, green, and blue values can be any number between 0.0 and 1.0. The following table shows the red, green, and blue combinations for each of the eight basic colors.
To add a new pen, you must redefine pens 0 through 7 first, then add the new pens you want.
To set pen widths and colors to values other than those in the HPGLPENS.PS file, follow these steps:
For example, to change pen 4 to a purple color and a width of .5 mm, edit the HPGLPENS.PS file and change the line for pen number 4 to the following: