Homelite HL-2400CE Printer User Manual


 
10/10/03
CHAPTER 3 "PCL5C" - 11
3.6. Push/Pop Palette
Command
ESC*p#P (27)(42)(112)#(80) <1Bh><2Ah><70h>#<50h>
# = 0 * Push palette
= 1 Pop palette
* Default value = 0
The value of 0 pushes the current palette onto the palette stack. This command does not affect the current
palette.
The value of 1 pops the palette from the top of the palette stack and replacesthe current palette with it.
If the Pop Palette command is executed without a Push palette having first having been executed, it is
ignored.
The palette stack is controlled as a First In Last Out stack.
The parameters below are pushed to the palette stack;
Color Mode (Simple Color / PCL Color Mode)
Parameters to be set by the Set PCL Color Setting command
Encoding Mode (mode 0, 1, 2, 3)
Bits / index
Bits / value #1
Bits / value #2
Bits / value #3
Black and White Reference
Parameter of Render Algorithm
Parameter of Gamma Correction
Color Palette
Dither to be downloaded by the Download Dither Matrix command
Pen Width (HP-GL/2)
The data below is pushed to the palette stack;
Colors to be selected by the Select Color command
Colors to be selected by the Set #1, #2, #3 command
Monochrome Print Mode