We are trying to switch from v1.7.3 to v2.3.2 but have noticed a huge difference in the size of the PDF’s being created. I saw another post with the same issue but the response was not very helpful. What changed between V1.73 and v2.3.2 that causes such a large file to be produced? Is it a different Ghostscript or some other default setting. These file size differences are happening on plain text reports with no images in them.
Thanks for any help on this issue.
Ken
Not sure how I’m supposed to update my postings so I’m just going to EDIT it.
At version 1.7.3 our invoice size was around 49K, at v2.32 they jumped to 1,644K. To try to determine what settings we needed to change to get the file size back down I tried printing direct to PDFCreator without using the COM interface. I just selected the default printer created during the PDFCreator install and the file size was still 1,644K. I then changed the profile of the printer to High Compression (small file) and printed again. This time the PDF was 45K.
After playing with the settings for the Profile under the PDF/Compression tabs I determined that the Enable Compression and Resample Images settings were what we needed. So we added those setting to our program and printed using the COM again. Nothing changed, the files were still 1,644K.
So we then decided to use the Profile GUID “HighCompressionGuid” instead of “PdfaGuid” and printed using COM again. This time the file dropped down to 874K. Still not 45K but a lot better than 1,644K. I then decided to add back the Compression settings we originally tried that did nothing. On the next print our invoice was down to 45K and they look and print great.
Here are the compression setting we are using
“PdfSettings.CompressColorAndGray.Enabled” True
“PdfSettings.CompressColorAndGray.Compression” “JpegMaximum”
“PdfSettings.CompressColorAndGray.Resampling” True
“PdfSettings.CompressColorAndGray.Dpi” 150
I hope this helps anyone else with same issue.
Ken