HP (Hewlett-Packard) PCL 5 Printer User Manual


 
Select Palette
Command
The Select Palette command selects a new active palette by
specifying an ID number. The previously active palette is
unchanged.
?&p#S
# = Palette ID number
Default = 0
Range = 0 to 32767 (command is ignored for out-
of-range values)
This command activates the designated palette in the pal-
ette store. The command is ignored if the specified ID
matches the active palette’s ID, or if no palette with that ID
exists. The designated ID is saved as the palette select ID
in the current modified print environment.
This command can be used to de-select the active palette
and select as the new active palette a palette created by the
Palette Control command (?&p#C). For example, to copy
the active palette to an ID of 44 and select the new palette
to use or modify, send ?&p44i6c44S.
When a palette creation command is received such as Con-
figure Image Data (?*v#W), Simple Color (?*r#U), or an
HP-GL/2 IN, the created palette overwrites the active pal-
ette and is assigned the current palette select ID, which is
unchanged.
A palette popped from the stack overwrites the active pal-
ette, and is assigned the current palette select ID, which is
unchanged.
?E resets the palette select ID value to 0 and deletes all pal-
ettes in the palette stack and palette store, including the ac-
tive palette which is replaced by a default PCL fixed black
and white palette with a palette select ID value of 0.
Using Palettes 3-7Using Palettes 3-7