HP L 5 manual PP, Pixel Placement Command, Parameter Format Functional

Models: L L 5

1 286
Download 286 pages 16 Kb
Page 186
Image 186

PP, Pixel Placement Command

The Pixel Placement (PP) command controls how pixels are placed on the layout grid during polygon fills. The two pixel placement modes are grid intersection or grid centered.

PP [mode;]

Parameter

Format

Functional

Parameter

 

 

Range

Default

 

 

 

 

mode

clamped integer

0 or 1

0 (grid

 

 

 

intersection)

 

 

 

 

mode

0 grid intersection; device draws pixels centered at grid intersections (see Figure 7-1).

1 grid centered; device draws pixels centered inside the boxes created by the grid (see Figure 7-1).

 

When the printer is set to grid-centered mode (mode 1), portions of a

 

polygon that are zero height or zero width are not rendered. When the

 

printer is set to grid intersection mode (mode 0), portions that are

 

zero height or width are rendered as lines. Portions that are both zero

 

height and width are rendered as dots.

 

This command affects only HP-GL/2 polygons; it has no effect on

 

characters, rules, or raster graphics. This command can be invoked

 

multiple times during a page; it has no effect except to switch the

 

model used for imaging.

 

This command is the HP-GL/2 version of the PCL Pixel Placement

 

command. Whatever mode is selected, using the HP-GL/2 PP

 

command also applies to PCL operation. Likewise the PCL Pixel

 

Placement command also affects HP-GL/2 pixel placement.

 

 

Note

Microsoft Windows fills polygons based on the grid- centered method.

 

This command determines how pixels will be placed for both HP-GL/2

 

and PCL operation.

 

The PP command is not defaulted by an IN command.

 

 

7-22 Color Vector Graphics (HP-GL/2)

EN

Page 186
Image 186
HP L 5 manual PP, Pixel Placement Command, Parameter Format Functional, Mode Clamped integer Grid Intersection