Lexmark XS364 Printer Languages and Interfaces Technical Reference - Page 37
Adaptive compression, Adaptive compression control strings
View all Lexmark XS364 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 37 highlights
Printer Control Language (PCL) emulation 37 Example: ESC*p300x1200Y ESC*b3M ESC*r1A ESC*b9W 'E0FFFFFFFFFFFFFFFF'x ESC*b9W 'E08000000000000001'x ESC*b0W ... ESC*b0W ESC*b9W 'E0FFFFFFFFFFFFFFFF'x ESC*rB |Move cursor to 1 x 4 in. |Set compression to Delta Row |Start raster graphics at current position |Num Offset |'111 00000'b=8 at 0: 'FFFFFFFFFFFFFFFF'x |8 at 0: '8000000000000001'x |No bytes change |No bytes change |8 at 0: '8FFFFFFFFFFFFFF'x |End graphics 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. Adaptive compression control strings Scan mode CountH, CountL 0 Data SizeH,L 1 Data SizeH,L 2 Data SizeH,L 3 Data SizeH,L 4 NumberH,L of empty rows 5 NumberH,L of duplicate rows 254 Data SizeH,L 255 Data SizeH,L Example: Data Uncoded raster scan data Size of run-length encoded data (high,low) Size of Tagged Image File Format (TIFF) data (high,low) Size of delta row data (high,low) None None TIFF word TIFF double-word ESC*p300x1500Y ESC*b5M ESC*b29W '03 0009'x 'E0FFFFFFFFFFFFFFFF'x '01 0006'x '0080 FB00 0001'x '05 0035'x |Move cursor to 1 x 5 in. |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