CHAPTER 3 PCL5C - 17
PC [pen;]:
sets the pen to the default color.
Number of pens in palette
Pen number
Color
2 ("NP 2;")
0
White
1
Black
4 ("NP 4;")
0
White
1
Black
2
Red
3
Green
8 ("NP 8;")
0
White
1
Black
2
Red
3
Green
4
Yellow
5
Blue
6
Magenta
7
Cyan
** If the number of pens in the palette is over 8, the color is set to black.
6.3.
NP (Number of Pens) Command
Command
NP [n;]
NP [;]
Range = 2 ~ 32768
Default value = 8
This command makes the palette the specified size after the
Initialize Set Instruction
command or
Set PCL
Color Setting
command is executed.
The
n
value represents the palette number with the value of 2
n
. When it cannot be indicated with the value
of 2
n
, the next value, 2
n+1
is selected.
When a value over 257 is specified, 256 is selected.
When a value less than 2 is specified, it is ignored.
The specified palette can be selected by the
Select Pen
command. When the value specified by the
Select
Pen
command is bigger than the palette number specified by this command, the value of the remainder is
used.
6.4.
CR (Color Range) Command
Command
CR [....]
Range = - 32768 ~ 32767
Default value is listed below;
R
G
B
Black reference
0
0
0
White reference
255
255
255
Black reference:
specifies the black value (the highest level of density)
White reference:
specifies the white value (the lowest level of density)
This command sets the range for specifying relative color data.
The value specified by this command is reset to the default value by the
CR [;]
or
IN [;]
command.