HP (Hewlett-Packard) PCL 5 Printer User Manual


 
MODE 2: DIRECT BY PLANE
In mode 2, the color raster data for each row is downloaded
by sequential planes, but the pixel color is directly
specified, rather than forming an index into the palette.
The underlined block below defines the actual primaries for
pixel 3 of row 1.
?*b#V row 1 red plane r r
r rr
?*b#V green plane g g
g gg
?*b#W blue plane b b
b bb
?*b#V row 2 red plane r r r r r
Example:
?*v6W 00 02 01 01 01 01 # Binary data for CID
represented in hex. Sets
color space to RGB, pixel
encoding mode to 2. Palette
size is ignored because this
is a direct selection, not
indexed. Last 3 bytes are
always 1 for this mode.
?*r1A # Start raster.
?*b1V10110000 . . . # Transfer plane for primary
color 1. Each bit turns on or
off the red primary for the
pixel defined by the
corresponding bits in each
plane.
?*b1V01110000 . . . # Transfer plane for primary
color 2. Each bit turns on or
off the green primary of the
pixel.
?*b1W10101000 . . . # Transfer plane for primary
color 3 and move to the next
row. Each bit turns on or off
the blue primary of the pixel.
Using Color Modes 2-11Using Color Modes 2-11