HP (Hewlett-Packard) PCL 5 Printer User Manual


 
Palette Control The Palette Control command provides a mechanism for
marking and deletion of palettes.
?&p#C
# = 0 - Delete all palettes except those in the
stack (active palette deleted)
1 - Delete all palettes in the stack (active
palette is not affected)
2 - Delete palette (specified by Palette
Control ID)
6 - Copy active palette to ID specified by
Palette Control ID
Default = 0
Range = 0, 1, 2, 6 (command is ignored for
unsupported values)
A value of 0 deletes all palettes except those on the
palette stack. The active palette is replaced by the
default black and white palette (ID 0). The palette
control ID is not used.
A value of 1 clears the palette stack. The active palette
is unaffected, and the palette control ID is not used.
A value of 2 deletes the palette with the specified palette
control ID if it exists; otherwise the command is ignored.
For example, to delete palette 53, send ?&p53i2C. If the
active palette’s ID is specified the active palette is
replaced by the default black and white palette. This
option does not change the palette control ID value.
Note When the active palette is replaced by the default black
and white palette, the graphics state associated with the
previous palette is also replaced.
Using Palettes 3-9Using Palettes 3-9