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, 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)

Index

Color

 

 

0

White

 

 

1

Black

 

 

3-Plane RGB (value = 3)

Index

Color

 

 

0

Black

 

 

1

Red

 

 

2

Green

 

 

3

Yellow

 

 

4

Blue

 

 

5

Magenta

 

 

6

Cyan

 

 

7

White

 

 

EN

Using Palettes 3-11

Page 49
Image 49
HP L 5 manual Simple Color Palettes, Single Plane value =