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

 

 

# = –3

- 3 planes, device CMY palette

1

-

Single plane K (Black) palette

3

-

3 planes, device RGB palette

Default

=

1

Range

=

–3, 1, 3

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 2n, with index values 0 to 2n – 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 –3creates an 8-entry palette in Device CMY color space.

B-4 Using Color Modes (Color LaserJet, 5, 5M, DeskJet)

EN

Page 206
Image 206
HP L 5 manual Simple Color Mode