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.

<strong>Color</strong> Raster Graphics Example<br />

This example demonstrates the Indexed by Pixel PEM of the CID<br />

command. It produces a one inch wide by one half inch high image of<br />

one inch high by 0.1 inch wide colored vertical bars. The pixels in the<br />

image are eight byte indices, repeatedly ranging from 0 to 7, thus<br />

giving the different colored vertical bars.<br />

The <strong>PCL</strong> commands are decoded as follows:<br />

<strong>PCL</strong> Command Description Command Arguments<br />

E Reset<br />

*v6W\x00\x01\x08\x Configure Image Data <strong>Color</strong> space: device RGB<br />

08\x08\x08<br />

Pixel Encoding Mode:<br />

indexed by pixel<br />

Bits/Index: 8<br />

Bits/Primary 1: 8<br />

Pits/Primary 2: 8<br />

Bits/Primary 3: 8<br />

*t600R Change graphics resolution 600<br />

*r600S Set Source Raster Width 600 pixel units<br />

*r300T Set Source Raster Height 300 pixel units<br />

*r0A Activate graphics mode<br />

*b0M Compression method unencoded<br />

*b#W Transfer raster data row (1) 600 bytes<br />

*b3M Compression method delta row<br />

*b#W Transfer raster data (299) 600 bytes<br />

*rC End raster graphics<br />

E Reset<br />

In the textual equivalent of the <strong>PCL</strong> 5 commands shown below, the<br />

following character representations are used:<br />

\e stands for the ASCII escape character<br />

\r is a carriage return<br />

\x00 to \x07 are the single byte, binary values from 00 to 07<br />

6-42 Raster Graphics EN

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

Saved successfully!

Ooh no, something went wrong!