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

Postby lbc » October 7th, 2004, 9:48 am

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
Junior Member
 
Posts: 48
Joined: February 4th, 2004, 7:50 am
Location: Italy

Postby Kambiz » October 7th, 2004, 11:29 am

Yes, for D7 you only need to remove the "dot".
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron