
Unit 1: PCL Emulation
Page 1-36
SATO D512 PCL Programming Manual
Z
LIB
Zlib is a generic compression method. It refers to a standard for compression
as well as the library that implements the standard.
The zlib compression method uses the deflate algorithm. This same algorithm
is used by more widely known compression utilities such as PKZIP and GZIP.
Compressed data is a series of variably-sized blocks. An encoder determines
how to break the data into blocks and finds the best compression method to
use for each block.
An encoder works based on the following principles. The encoder creates a
dictionary containing different characters in a set of data. Short strings of bits
represent more commonly occurring characters, and long strings of bits
represent less frequently used characters. A probability tree determines
which characters are frequently used. Repeated patterns in a string of
characters are identified and stored, so the string doesn’t have to be stored
multiple times.
A three-bit zlib header is added to the beginning of a block to describe the
type of compression used and indicates whether the block is a final block.
Other information in the header includes checksums, compression algorithm
used, and the level of compression. In compression all checksums are set to
zero and in decompression the checksums are ignored.
The memory required for zlib compression and decompression is
independent of the size of the data to be compressed or decompressed.
The number 999 does not conflict with other compression types, so it is used
to represent zlib compression. See “Raster Compression Mode” in this
section for more information.
Summary of Contents for D512
Page 1: ...D512 PCL PROGRAMMING MANUAL PN 9001180B...
Page 4: ...PN 9001180B SATO D512 PCL PROGRAMMING MANUAL...
Page 61: ...SATO D512 PCL Programming Manual Page3 1 1PCL SUPPORT...
Page 69: ...SATO D512 PCL Programming Manual Page 4 1 1PJL SUPPORT...
Page 74: ...Unit 4 Printer Job Language Support Page 4 6 SATO D512 PCL Programming Manual...
Page 75: ...SATO D512 PCL Programming Manual Page 5 1 1BARCODE COMMANDS...
Page 85: ...Unit 6 PRINTER LANGUAGE CHANGE COMMANDS SATO D512 PCL Programming Manual Page 6 3 ESC RN ESC Z...
Page 87: ...1SATO CONTACTS 2 3 4...