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

EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-11
Simple Color Palettes
The Simple Color command (?*r#U) provides a quick way to select
colors from a fixed, non-programmable palette.
The Simple Color command overwrites the current palette with one of
the fixed palettes below. When the Simple Color command is in effect,
the PCL and HP-GL/2 commands that modify a palette entry (NP, CR,
PC,
?*v#A, ?*v#B, ?*v#C, ?*v*I, ?*t*I) are locked out. A popped
simple color palette cannot be modified and the pixel encoding mode
reverts to “index by plane”. Only the IN or the CID (
?*v#W)
commands can create a modifiable palette.
As shown below, a value field of 1 (
?*r1U) creates a black and white
palette. A value of 3 creates an 8-pen palette in Device RGB color
space. A value of –3 creates an 8-pen palette in Device CMY color
space. All of these Simple Color palettes are fixed and
non-programmable.
Single Plane (value = 1)
3-Plane RGB (value = 3)
Index Color
0White
1Black
Index Color
0Black
1Red
2Green
3Yellow
4Blue
5 Magenta
6Cyan
7White