EN
Set Compression Method Command 15-25
Adaptive Compression (Method 5)
Adaptive compression enables the combined use of any of the four
previous compression methods (0 through 3), and it includes the
ability to print empty (all zeros) rows or to duplicate rows.
Adaptive compression interprets a raster image as a block of raster
data rather than as individual rows. The result of this interpretation is
that the Transfer Raster Data (
E
C
*b#W
) command is sent only once
at the beginning of a raster data transfer, and the value field (#)
identifies the number of bytes in the block (all rows). For the other
compression methods, the Transfer Raster Data command is sent at
the beginning of each row and the value field (#) identifies the number
of bytes for that row only.
The size of a block is limited to 32,767 bytes. (32,767 bytes is the
number of compressed bytes and not the size of the uncompressed
data). To transfer greater than 32,767 bytes, send multiple blocks.
Adaptive compression uses three control bytes at the beginning of
each row within the block. The first of these bytes, the command byte,
identifies the type of compression for the row. The two following bytes
identify the number of bytes or rows involved. The format for adaptive
compression raster rows is shown below:
<command byte><# of bytes/rows - upper byte><# of bytes/rows - lower byte> ...
...<first raster row byte>...<last raster row byte>
The command byte designates the compression method, empty row,
or row duplication. Command byte values are shown below.
Table 15-9
Value Compression
Operation
0 -
Unencoded
1 -
Run-Length Encoding
2 -
Tagged Image File Format (TIFF) rev 4.0
3 -
Delta row
4 -
Empty row
5 -
Duplicate row
Summary of Contents for LaserJet 4100
Page 1: ...Part I Click here to access Part II on hp com ...
Page 2: ......
Page 26: ...Contents 14 EN ...
Page 44: ...2 10 The Page EN ...
Page 54: ...3 10 The Print Environment EN ...
Page 70: ...4 16 PCL Job Control Commands EN ...
Page 80: ...5 10 Page Control Commands EN Figure 5 3 Changing Print Direction on a Page ...
Page 82: ...5 12 Page Control Commands EN Figure 5 4 Text Area Within the Page ...
Page 110: ...6 16 Cursor Positioning EN ...
Page 120: ...7 10 Fonts EN Figure 7 11 Bitmap Character Figure 7 12 Scalable Character ...
Page 122: ...7 12 Fonts EN ...
Page 152: ...8 30 PCL Font Selection EN ...
Page 166: ...9 14 Font Management EN ...
Page 182: ...10 16 User Defined Symbol Sets EN ...
Page 237: ...EN Character Descriptor Formats 11 55 Figure 11 5 Class 2 Character Data ...
Page 240: ...11 58 Soft Font Creation EN Figure 11 6 Portrait Character Example ...
Page 241: ...EN Character Descriptor Formats 11 59 Figure 11 7 Landscape Character Example ...
Page 270: ...13 4 The PCL Print Model EN Figure 13 3 Effect of Transparency Modes on Images ...
Page 276: ...13 10 The PCL Print Model EN Figure 13 4 Shading Patterns ...
Page 277: ...EN Pattern ID Area Fill ID Command 13 11 Figure 13 5 Cross Hatch Patterns ...
Page 290: ...13 24 The PCL Print Model EN ...
Page 297: ...EN Pattern ID Area Fill ID Command 14 7 Figure 14 1 Shading Patterns ...
Page 298: ...14 8 PCL Rectangular Area Fill Graphics EN Figure 14 2 Cross hatch Patterns ...
Page 341: ...EN Raster Graphics Example 15 33 Figure 15 11Example of Raster Graphic Image Data ...
Page 342: ...15 34 Raster Graphics EN ...
Page 370: ...16 28 Status Readback EN ...