by nageswaragunupudi » Wed Apr 26, 2017 3:37 am
When we export to PDF from Preview, the preview class first checks if MSWord is installed. If installed, the document is first exported to Word and then saved as PDF. This produces PDF with high quality and very small size.
In case Word is not installed, then the preview class uses the FWH built-in function FWSavePreviewToPDF(). This function does the job but is not efficient like MS Word and produces a file with large size.
When we directly export from Printer/Report, directly the inbuilt function FWSavePreviewToPDF() is used, producing a file larger than what Word would have produced.
This explains the reason for the different sizes and versions.
This also raises a question why can not exporting to PDF directly from Printer/Report can also adopt the same approach. Answer is yes. But this takes some time and we shall try to provide this in future versions.
Regards
G. N. Rao.
Hyderabad, India