Lexmark X644e User Guide

Page of 416
PCL
2-83
 
The following example prints a Group 4 image file that is 256 bits wide and 9,645 bytes 
long:
ESC
*b1002M
|Set Raster Compression to Group 4
ESC
*r256S
|Define width of image in input bits
ESC
*r1A
|Start Raster Graphics at current position
ESC
*b9645W
|9,645 bytes of a Group 4 image
...
[
Group 4 image data
]
...
ESC
*rB
|End Raster Graphics
All lines of data must be the same length. If they are not, zeroes (0) must be added to 
attain the same length.
Note:
If the uncompressed image extends beyond the logical page dimensions or 
beyond the raster width specified in the Raster Width command (
ESC
*r#S
), the 
image is clipped at print time.
Additional Compression Modes
When the compression mode is 1008 (Lexmark Adaptive), TIFF word and double-
word can be printed using compression scan modes 254 and 255 respectively. This 
compression method sends a raster image as a block of raster data.