HP L 5 manual Mode 2 Direct by Plane

Models: L L 5

1 286
Download 286 pages 16 Kb
Page 34
Image 34

MODE 2: DIRECT BY PLANE

In this mode, a pixel is composed of three, one-bit components. The data is transferred a plane at a time, one plane for each component. Therefore, each bit in a plane represents one component of a pixel. The underlined bits below show the components for a pixel.

?*b#V

row 1

plane 1

(red)

b1

b1

b1

b1

b1

b1

?*b#V

 

plane 2

(green)

b2

b2

b2

b2

b2

b2

?*b#W

 

plane 3

(blue)

b3

b3

b3

b3

b3

b3

?*b#V

row 2

plane 1

(red)

b1

b1

b1

b1

b1

b1

Example:

In the example below the data in the row transfer commands are shown in binary for clarity, even though the actual data would be byte-aligned binary data. The example is for an eight-pixel-wide image.

?*v6W 00 02 01 01 01 01

Binary Data for the CID command

 

represented in hexadecimal. This

 

command sets the color space to

 

RGB, the PEM to Direct by Plane.

 

The palette size is ignored. The

 

last three bytes are always one

 

for this mode.

?*r1A

Start raster

?*b1V10110000

Transfer plane 1 (the first bit for

 

each pixel in the first row). Each

 

bit controls the red primary.

?*b1V01110000

Transfer plane 2 (the second bit

 

for each pixel in the row). Each bit

 

controls the green primary.

?*b1W10101000

Transfer plane 3 (the third and

 

final bit for each pixel in the row)

 

and move to the next row. Each

 

bit controls the blue primary. Note

 

that the ?*b#W command is

 

used to send the last plane of

 

each row.

2-10 Using Color Modes

EN

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