HP L 5 manual Foreground Color Command, ?*v#S

Models: L L 5

1 286
Download 286 pages 16 Kb
Page 248
Image 248

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

The following are not affected:

User-defined color patterns (format 1 download patterns)

HP-GL/2 marking primitives (HP-GL/2 uses “selected pen”, but ignores foreground color)

C-18 Using Palettes (Color LaserJet, 5, 5M, DeskJet)

EN

Page 248
Image 248
HP L 5 manual Foreground Color Command, ?*v#S