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
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
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
•Raster images
The following are not affected:
•
•
EN |