HP (Hewlett-Packard) PCL Printer User Manual


 
B-12 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) EN
Example:
MODE 3: DIRECT BY PIXEL
In mode 3, the color raster data is downloaded pixel by pixel (as in
mode 1), but each pixel directly specifies each color component (as in
mode 2). Assuming Device RGB space with 8 bits per primary, the
underlined block below defines the actual color primaries for pixel 1 of
row 2.
?*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.
?*b#W row 1 r7–r0 g7–g0 b7–b0 . . .
?*b#W row 2 r7–r0 g7–g0 b7–b0 . . .
?*b#W row 3 r7–r0 g7–g0 b7–b0 . . .