## zlib option in print preview

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

### zlib option in print preview

Hello
about the zlib support, the documentation tells (see below) that for D5 and lower there is a zlib version available. Anyway I have D7, how to add exactly the zlib support? In case, would it be enough to cut the "dot" at the beginning of the directive

{.$define ZLIB} getting: {$define ZLIB}

?

thanks again for any tip/info about the above

---
ZLIB COMPRESSION

To save preview pages to a file (or stream) as compressed format:

* If you are using Delphi 5 or lower, get the freeware ZLib library for your version of Delphi at http://www.gzip.org/zlib.
* Open the Preview.pas file and define the ZLIB compiler directive in the begining of the file.

When the ZLib compression is active, the component can load both compressed and non-compressed files.
---
lbc
Junior Member

Posts: 48
Joined: February 4th, 2004, 7:50 am
Location: Italy

Yes, for D7 you only need to remove the "dot".

Kambiz

Posts: 2430
Joined: March 7th, 2003, 7:10 pm

### Who is online

Users browsing this forum: No registered users and 2 guests