Select color, Push/pop palette – Brother HL-2170W User Manual
Page 144
CHAPTER 3 PCL5C - 11
3.5.
Select Color
Command
ESC*v#S (27)(42)(118)#(83) <1Bh><2Ah><76h>#<53h>
# = 0 ~ current palette size
Default value = 0
This command selects the color as the index number in the palette.
This command is valid for text, underline, rule and graphics.
This command does not affect the User-defined color pattern or HP-GL/2. (The HP-GL/2 command selects
the color using the SP command.)
The value to be selected by this command is never affected by the Set PCL Color Setting, Set Render
Algorithm, Download Dither Matrix or Set Gamma Correction commands.
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
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E