Source Raster Width Command

The Raster Width command specifies the width in pixels of the raster area. Width is in the direction that the raster rows are laid down, hence width is subject to the current raster presentation mode and print direction (see Figure 6-6).

?* r # S

#= Width in pixels of the specified resolution

Default

= depends on raster presentation mode: when

 

presentation mode is 0 then width = width of logical

 

page minus left graphics margin; when presentation

 

mode is 3 then width = dimension of logical page along

 

paper length minus left graphics margin.

Range

= 0 to (logical page width minus left graphics margin)*

* Greater values default to the (logical page width – left graphics margin).

Note

Note

Note

Specifying the raster width and raster height improves memory usage. Therefore it is highly recommended.

This command allows you to implicitly tell the printer to pad raster rows that are not specified for the full raster width with zeros. Unspecified data maps to either white or transparent depending on the source transparency mode (this is true only if index 0 is white).

For color printers, a zero fill is not necessarily white.

When a Transfer Raster Data command is received that specifies a row of data that is longer than the raster width, the data that extends beyond the raster width is clipped.

This command is ignored after the Start Raster Graphics or Transfer Raster Data commands, until the next End Raster Graphics command.

Only raster data appearing within the intersection of the logical page, the printable area, and if set, the raster width and height is printed. Data outside the intersection is clipped.

EN

Raster Graphics 6-15

Page 135
Image 135
HP L 5 manual Source Raster Width Command, ? * r # S