HP (Hewlett-Packard) PCL 5 Printer User Manual


 
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-7).
? * 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 graph-
ics 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 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).
Note 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.
Raster Graphics 6-15Raster Graphics 6-15