Lexmark Printer manual Adaptive Compression Control Strings, Scan Mode CountH,CountL Data

Models: Printer

1 455
Download 455 pages 26.87 Kb
Page 104
Image 104

 

2-92

PCL

 

 

 

 

 

 

Adaptive Compression

Adaptive compression allows the combined use of compression methods 0 through 3 (Uncoded, Run-Length Encoded, TIFF, and Delta Row). It also allows the printing of empty rows (all zeros) or duplicate rows.

The Transfer Raster Data command size includes all rows (scan lines).

Scan Mode and SizeH,L are three-byte primary control strings: CountH and CountL.

Table 2-50: Adaptive Compression Control Strings

Scan Mode

CountH,CountL

Data

0

Data sizeH,L

Uncoded raster scan data

 

 

 

1

Data sizeH,L

Size of Run-length encoded data (high,low)

 

 

 

2

Data sizeH,L

Size of Tagged Image File Format (TIFF) data

 

 

(high,low)

 

 

 

3

Data SizeH,L

Size of Delta Row data (high,low)

 

 

 

4

NumberH,L of empty

None

 

rows

 

 

 

 

5

NumberH,L of duplicate

None

 

rows

 

 

 

 

254

Data SizeH,L

TIFF word

 

 

 

255

Data SizeH,L

TIFF double-word

 

 

 

Example:

ESC*p300x1500Y

Move cursor to 1" x 5"

ESC*b5M

Set the compression to Adaptive Compression

ESC*b29W

Raster Data: 29 bytes follow

'03 0009'x 'E0FFFFFFFFFFFFFFFF'x

Delta Row: 8 at 0: 'FFFFFFFFFFFFFFFFh'x

'01 0006'x '0080 FB00 0001'x

Run Length: 1:'80'x, 6x'00'x, 1:'01'x

'05 0035'x

Duplicate rows: 61 times

'02 0002'x 'F9FF 'x

TIFF: 8x'FF'x

ESC*rB

End graphics

Page 104
Image 104
Lexmark Printer manual Adaptive Compression Control Strings, Scan Mode CountH,CountL Data