Adaptive compression – Lexmark C762 User Manual

Page 76

Advertising
background image

PCL

2-64

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.

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

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
rows

None

5

NumberH,L of duplicate
rows

None

254

Data SizeH,L

TIFF word

255

Data SizeH,L

TIFF double-word

Advertising
This manual is related to the following products: