HP L 5 manual Mode 2 Direct by Plane

Models: L L 5

1 286
Download 286 pages 16 Kb
Page 213
Image 213

Example:

?*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.

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

r

r

?*b#V

 

green plane

g

g

g

g

g

?*b#W

 

blue plane

b

b

b

b

b

?*b#V

row 2

red plane

r

r

r

r

r

EN

Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-11

Page 213
Image 213
HP L 5 manual Mode 2 Direct by Plane