HP PCL/PJL reference (PCL 5 Color) - Technical Reference Manual

C-16 Using Palettes (Color LaserJet, 5, 5M, DeskJet) EN
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)
Note The IN command always establishes the 8-pen palette.
Two Pens
Four Pens
Pen Number Color
0White
1Black
Pen Number Color
0White
1Black
2Red
3Green