
Revision C 16/01/96
Chapter 2 "PCL" - 80
•
# = 5 indicates that adaptive compression is to be used.
This compression compresses multiple rows (block) into one transfer graphics command.
Most of other compression method compresses only one row to one transfer graphics command.
One transfer graphic command (ESC *b##W) can contain only up to 32,767 bytes.
As mode 5 compression compresses multiple rows, the amount of transferred data may become large.
If compressed data exceeds this limit, please reduce the number of rows in one block.
We can use mode 0 to mode 3 compression to compress each row. We can even compress empty (white) rows
and duplicate rows in this compression.
Command byte
Mode 5 compressed data consists of multiple elements. Each element contains 3 header bytes at the biginning.
The first byte of the header bytes is a command byte.
First byte
Second, third byte
0
Unencoded
1
Run-length Encoding
Number of a block data
2
TIFF
3
Delta Row compression
4
Empty Row
Number of empty row or repetition
5
Duplicate Row
Command byte
0 -
This element is an uncompressed row. Next two bytes contain byte count of uncompressed data.
Uncompressed data follows the header.
1 -
This element identifies compressed row. Compression method is mode 1. Next two bytes (upper
byte first) contain byte count of compressed data. Compressed data follows the header.
2 -
This element identifies a compressed row. Compression method is mode 2. Next two bytes
(upper byte first) contain byte count of compressed data. Compressed data follows the header
3 -
This element identifies a compressed row. Compression method is mode 3. Next two bytes
(upper byte first) contain byte count of compressed data. Compressed data follows the header
4 -
This element identifies multiple empty rows. Next two bytes (upper byte first) contain empty
row count.
5 -
This element identifies duplicate rows. Next two bytes (upper byte first) contain duplicate row
count.
•
# = 9 Mode 9 compression
Like mode 3 compression, this compression (mode 9) data contains only the difference of the current row from
the preceding row.
Replacement data often consists of a repetition of a particular byte in mode 3 compression.
Mode 9 compression is effective in such cases.
Simple mode 9 compression data consists of a command byte and the replacement data.
A Command byte consists of 3 parts. They are the control bit, the offset count and the replacement count.
The Control bit is the most significant bit (bit 7) of a control byte.
Содержание HL- SERIES
Страница 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Страница 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Страница 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Страница 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Страница 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Страница 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Страница 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Страница 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Страница 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Страница 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Страница 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Страница 332: ...Revision C 16 01 96 Chapter 9 HP GL 5 1 3 2 Printing Area a b d c a b c d mm A4 4 5 5 5 Letter 6 5 5 5 Legal 6 5 5 5 ...
Страница 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Страница 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...