2001/10/02
CHAPTER 3 "PCL5C" - 4
2. COLOR MODES
The PCL5C emulation provides a B/W mode, which is the default, and three color modes as follows;
1) Simple Color Mode
2) PCL Color Mode
3) HP-GL/2 Color Mode
Simple Color Mode allows you to use a maximum of 8 colors easily. PCL Color Mode allows you to use a
maximum of 16,000,000 colors logically. HP-GL/2 Mode allows you to use vector graphics in color.
It is possible to switch between these modes in a single page, which enables you to use each of them for your
purpose.
When handling colors in those modes, use palette. For details on palette, refer to Section 3 ‘Color Palettes’ of
this chapter.
This section describes the details about each color mode.
2.1. Using Simple Color Mode - Set Simple Color
Command
ESC*r#U (27)(42)(114)#(85) <1Bh><2Ah><72h>#<55h>
# = -4 CMYK mode
# = -3 CMY mode
# = 1
*
B/W mode
# = 3
RGB mode
* Default value = 1
• The # value specifies the palette and the colors for the palette. For specific colors, refer to the table below;
• This command specifies each color corresponding to the index number. The color is fixed and
unchangeable.
• The colors which were specified in the palette by the PCL or HP-GL/2 command are cancelled.
Index No -4 (CMYK) -3(CMY) 1(B/W) * 3(RGB)
0 White White White Black
1 Cyan Cyan Black Red
2 Magenta Magenta - Green
3 Blue Blue - Yellow
4 Yellow Yellow - Blue
5 Green Green - Magenta
6 Red Red - Cyan
7 Black Black - White
* = default