HP (Hewlett-Packard) PCL 5 Printer User Manual


 
Foreground Color All PCL marking entities utilize “foreground” color, which is
selected from the current palette using the Foreground
Color command (?*v#S). Foreground color interacts with
raster color depending on the print model commands in
effect.
Foreground Color
Command
The Foreground Color command sets the foreground color
to the specified index of the current palette.
?*v#S
# = Index number into current palette
Default = 0
Range = 0 to 2
(current palette size)
– 1
Specified values that are out-of-range of the current palette
are mapped into a new index as follows:
Index = Specified foreground index modulo palette size
For example, specifying a foreground color index of 10 when
the current palette size is 8 maps to 10 modulo 8, which is
equal to 2. If the current palette was created under
HP-GL/2, the index is mapped according to the HP-GL/2
mapping function.
Foreground color affects the following PCL page marking
primitives:
Text characters (they change to the foreground color,
including underlining)
Solid or monochrome patterned rectangular area fills
(rules)
Monochrome patterns (except HP-GL/2)
Raster images
Using Palettes 3-17Using Palettes 3-17