Lexmark C762, C760 manual 2-61, Uncoded Data, Example

Models: C762 C760

1 402
Download 402 pages 23.32 Kb
Page 73
Image 73

 

2-61

PCL

 

 

 

 

 

 

Descriptions and examples of the different parameters appear on the following pages. Each example draws the same square outline 64 bits (8 bytes) wide by 64 scan lines long.

Uncoded Data

Uncoded Data is not compressed. Only those bytes needed to form the image are sent. Each bit represents a single dot. In the first byte, bit 7 corresponds to the first dot in the raster row, bit 5 to the third dot, and so forth.

Example:

ESC*p300x300Y

Move the cursor to 1" x 1" (1 in. from top margin

 

and 1 in. from left edge of logical page)

ESC*t100R

Set resolution to 100 dots per inch

ESC*r0F

Rotate image to match current orientation

ESC*b0M

Set compression mode to Uncoded

ESC*r1A

Start raster graphics at current position

ESC*b8W 'FF FF FF FF FF FF FF FF'x

Raster data uncompressed

ESC*b8W '80 00 00 00 00 00 00 01'x

 

ESC*b8W '80 00 00 00 00 00 00 01'x

 

...

Repeat to provide 64 total scan lines

ESC*b8W '80 00 00 00 00 00 00 01'x

 

ESC*b8W 'FF FF FF FF FF FF FF FF'x

 

ESC*rB

End graphics

Page 73
Image 73
Lexmark C762, C760 manual 2-61, Uncoded Data, Example