HP-GL/2 Palettes

Regardless of the color space, a default PCL palette is always different than a default HP-GL/2 palette. The following table shows the default palettes established in HP-GL/2. Like a default CID palette, a default HP-GL/2 palette can be modified in either PCL or HP-GL/2 contexts using the following commands:

PCL

Color Components 1, 2, and 3 (?*v#A, ?*v#B, ?*v#C)

Assign Color Index (?*v#I)

HP-GL/2

Number of Pens (NP)

Pen Color Assignment (PC)

Set Relative Color Range (CR)

NoteThe IN command always establishes the 8-pen palette.

Two Pens

Pen Number

Color

 

 

0

White

 

 

1

Black

 

 

Four Pens

Pen Number

Color

 

 

0

White

 

 

1

Black

 

 

2

Red

 

 

3

Green

 

 

C-16 Using Palettes (Color LaserJet, 5, 5M, DeskJet)

EN

Page 246
Image 246
HP L 5 manual HP-GL/2 Palettes