Lexmark C760, C762 manual 2-64, 32 Adaptive Compression Control Strings, Example

Models: C762 C760

1 402
Download 402 pages 23.32 Kb
Page 76
Image 76

 

2-64

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-32: 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

ESC*b5M

ESC*b29W

'03 0009'x 'E0FFFFFFFFFFFFFFFF'x

'01

0006'x

'0080

FB00

0001'x

'05

0035'x

 

 

 

'02 0002'x 'F9FF

'x

 

ESC*rB

Move cursor to 1" x 5"

Set the compression to Adaptive Compression Raster Data: 29 bytes follow

Delta Row: 8 at 0: 'FFFFFFFFFFFFFFFFh'x

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

Duplicate rows: 61 times

TIFF: 8x'FF'x End graphics

Page 76
Image 76
Lexmark C760, C762 manual 2-64, 32 Adaptive Compression Control Strings, Example