HP (Hewlett-Packard) PCL Printer User Manual


 
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-11
Example:
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.
?*v6W 00 01 04 04 04 04 # Binary data for CID
represented in hexadecimal.
Sets color space to RGB, pixel
encoding mode to 1, palette size
to 16 (4 bits to address palette
index). Last 3 bytes ignored.
?*r1A # Start raster.
?*b1W45 # Most significant nibble selects
palette index 4 for the first pixel.
Second pixel is set to index 5.
Move to the next row.
?*b1W6A # First pixel is index 6, second
pixel is index 10. Move to the
next row.
?*b1W03 # First pixel is index 0, second
pixel is index 3. Move to the next
row.
?*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