Lexmark MX431 Printer Languages and Interfaces Technical Reference - Page 36
Tagged Image File Format, Delta row, Example
View all Lexmark MX431 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 36 highlights
Printer Control Language (PCL) emulation 36 Example: ESC*r1A ESC*b2W '07FF'x ESC*b6W '0080 0500 0001'x ESC*b6W '0080 0500 0001'x ... ESC*b6W '0080 0500 0001'x ESC*b2W '07FF'x ESC*rB |Start raster graphics at current position |Run-Length: 8x'FF'x |1x'80'x, 6x'00'x, 1x'01'x |1x'80'x, 6x'00'x, 1x'01'x |... |1x'80'x, 6x'00'x, 1x'01'x |8x'FF'x |End graphics Tagged Image File Format TIFF "Packbits" contain a control byte (a signed number) that indicates whether the raster data bytes repeats (up to 127 times) or prints as encoded data. • For control values of 0 through 127, the next (Control+1) bytes are uncoded. • For control values of -1 through -127 ('FF'x - '81'x), the next byte is repeated (Abs(Control)+1) times. Example: ESC*p300x900Y ESC*b2M ESC*r1A ESC*b2W 'F9FF'x ESC*b6W '0080 FB00 0001'x ESC*b9W '078000000000000001'x ... ESC*b6W '0080 FB00 0001'x ESC*b2W 'F9FF'x ESC*rB |Move cursor to 1 x 3 in. |Set compression to TIFF |Start raster graphics at current position | TIFF: 8x'FF'x |1:'80'x, 6x'00'x, 1: '01'x or |8: '8000000000000001'x |... |1:'80'x, 6x'00'x, 1: '01'x |8x'FF'x |End graphics Delta row Delta row is a compression mode that identifies and transmits only those bytes different from the ones in a preceding row. The control byte consists of two parts: • High 3 bits-Number of bytes to replace +1 (1 to 8). • Low 5 bits-Offset from last unmodified byte (0-30); if the offset is 31, the next bytes are added to the offset until the next byte is not 255.