The “PC;” command defaults the colors of all pens as shown in the table below. The “PC pen;” command defaults the number of pens as shown in the table on the following page for an HP-GL/2 palette. When color device palettes larger than 8 pens default, the first 8 pen colors are as defined for a palette of 8; all remaining pen colors are device- dependent. If the palette is a non-default palette, it defaults in accordance with the default palettes in Chapter 4.

No. of Pens in Palette

Pen Number

Color

 

 

 

2 (“NP 2;”)

0

White

 

 

 

 

1

Black

 

 

 

4 (“NP 4;”)

0

White

 

 

 

 

1

Black

 

 

 

 

2

Red

 

 

 

 

3

Green

 

 

 

8 (“NP 8;”)

0

White

 

 

 

 

1

Black

 

 

 

 

2

Red

 

 

 

 

3

Green

 

 

 

 

4

Yellow

 

 

 

 

5

Blue

 

 

 

 

6

Magenta

 

 

 

 

7

Cyan

 

 

 

For black and white printers that accept color descriptions and palettes, pen 0 defaults to white; all remaining pen colors default to “equivalent gray levels.” An equivalent gray level means that lighter colors (for example, yellow) are converted to light gray shades, and darker colors (for example, purple) are converted to dark gray shades. The mapping algorithm is device-dependent. However, equivalent gray levels represent solid colors, and any white pixels within them are not subject to transparency mode (TR).

EN

Color Vector Graphics (HP-GL/2) 7-15

Page 179
Image 179
HP L 5 manual Yellow