11.11.2012 Views

PCL 5 Color Technical Reference Manual - Business Support ...

PCL 5 Color Technical Reference Manual - Business Support ...

PCL 5 Color Technical Reference Manual - Business Support ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example:<br />

?*v6W 00 03 00 08 08 08 # Binary data for CID<br />

represented in hex. Sets color<br />

space to RGB, pixel encoding<br />

mode to 3. Palette size is<br />

ignored. Send 8 bits to address<br />

each primary value for a pixel.<br />

?*r1A # Start raster.<br />

?*b3W 45 06 30 # Each byte sets a primary<br />

value for the first pixel and<br />

moves to the next row (45<br />

specifies the red, 06 the green,<br />

and 30 the blue component<br />

value of that pixel).<br />

Byte 2 (Number of Bits per Index)<br />

In all pixel encoding modes, this byte sets the size of the palette to 2 n ,<br />

where n is the number of bits per index.<br />

In pixel encoding modes 0 and 1 (indexed), where raster data<br />

is interpreted as indices into a palette, this value specifies the<br />

number of bits required to access all palette entries.<br />

In pixel encoding modes 2 and 3 (direct), this value determines<br />

palette size, but has no effect on the specification of raster<br />

data.<br />

Byte 3 (Number of Bits for Primary #1)<br />

This byte is ignored in pixel encoding modes 0 and 1, but affects the<br />

black and white references in device-dependent color spaces. In<br />

Device RGB, the black reference for primary #1 is set to 0 and the<br />

white reference is set to 2 n – 1, where n is the number of bits for<br />

primary #1. These references are reversed in Device CMY color<br />

space.<br />

In pixel encoding mode 2, this byte is ignored except in Device<br />

RGB and Device CMY color space, where it designates the<br />

number of data bits needed to specify primary #1, as well as<br />

the number of data planes to be sent for primary #1.<br />

In pixel encoding mode 3, this byte designates the number of<br />

data bits needed to specify primary #1.<br />

EN Using <strong>Color</strong> Modes (<strong>Color</strong> LaserJet, 5, 5M, DeskJet) B-13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!