HP PCL/PJL reference (PCL 5 Color) - Technical Reference Manual
B-4 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) EN
Simple Color Mode
The Simple Color command (?*r#U) specifies color selection from a
fixed palette. RGB or CMY raster data must be sent by plane
(
?*b#V) as well as by row (?*b#W). The last plane in each row is
sent using the
?*b#W command; all other planes are sent using the
?*b#V command. In Simple Color mode, the pixel encoding mode is
always indexed planar.
Simple Color
Command
The Simple Color command creates a fixed-size palette, whose color
specification cannot be modified.
?*r#U
The absolute value of the value field specifies the number of planes
per row of raster data to be sent. The number of entries in the new
palette is 2
n
, with index values 0 to 2
n
– 1. For example, a 3-plane
palette has 8 entries, with index numbers 0 to 7.
This command destroys the active palette and creates a new palette,
which becomes the active palette. When the Simple Color mode is
active, PCL and HP-GL/2 commands that modify the palette are
locked out (NP, PC,
?*v#A, ?*v#B, ?*v#C, ?*v#I). When a Simple
Color palette is popped from the stack (
?*p#P), it cannot be
modified, and the pixel encoding mode reverts to indexed planar.
• A value field of 1 creates a 2-entry Black-and-White default
palette.
• A value field of 3 creates an 8-entry Device RGB palette
(compatible with a PCL Imaging Mode palette, but not an
HP-GL/2 default (IN) palette).
• A value field of –3 creates an 8-entry palette in Device CMY
color space.
# = –3 - 3 planes, device CMY palette
1 - Single plane K (Black) palette
3 - 3 planes, device RGB palette
Default =1
Range =–3, 1, 3