Solve:PDF Converter 3.02 in XP/2003 generates too large file

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
lovison@algolsh.it
Posts: 30
Joined: Fri Apr 04 2003

Solve:PDF Converter 3.02 in XP/2003 generates too large file

Post by lovison@algolsh.it »

Hi,
we have a strange behavior with all pc's of a customer (5 Windows XP / 2003 pc's) :
PDF Converter 3.02 generates a too large pdf file of ~ 5Mb :cry:
while the same source file with PDF Creator (http://www.pdfforge.org/)
is ONLY 200Kb. On my pc PDF Creator generates ~ 300Kb pdf file.

:cry: Any suggestion :?: :?:

Fabrizio

Customer's PC :
2 MS Windows SERVER 2003 (IE 7.0) with 3.5Gb RAM
4 MS Windows XP SP3 (IE 7.0) with 1Gb RAM
lovison@algolsh.it
Posts: 30
Joined: Fri Apr 04 2003

Re: PDF Converter 3.02 in XP/2003 generates too large file

Post by lovison@algolsh.it »

More info :

Customer's PDF file :

PDF Version : 1.3 (Acrobat 4.x) - 4.79 Mb - Pages 144 - Tagged PDF : NO - Fast WebView : NO

My's PDF file :

PDF Version : 1.4 (Acrobat 5.x) - 632.12 Kb - Pages 144 - Tagged PDF : NO - Fast WebView : NO

Why is'nt my PDF version the same? How do I change this PDF version ? :? :?
lovison@algolsh.it
Posts: 30
Joined: Fri Apr 04 2003

Re: PDF Converter 3.02 in XP/2003 generates too large file

Post by lovison@algolsh.it »

:cry: no suggestion ??? nothing ??? :cry:
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: PDF Converter 3.02 in XP/2003 generates too large file

Post by Joan »

Hello,

If you and your customer don't have the same PDF version than you are either using different version of the PDF Converter or different settings while generating the PDF file.

Are you and your customer using the same version and the same settings for the PDF Converter?

Please note that to get optimal PDF file size for PDFs containing images, you need to use Compression algorithms available in the PDF Converter. I suggest that you try Jpeg Compression or Automatic Compression
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
lovison@algolsh.it
Posts: 30
Joined: Fri Apr 04 2003

Re: PDF Converter 3.02 in XP/2003 generates too large file

Post by lovison@algolsh.it »

Hi Joan and thank you for the reply :)

My customer and I have the same PDF Converter, 3.02, and the same version program to generate pdf.

Today I added in our program the flags : JPegLevelLow + AutoCompression
with this result when I print a file with 200 pages :

- On my PC : before 612Kb -> after 612Kb (exactly the same)
- On customer's PC : before ~ 13Mb :cry: -> after ~ 4Mb :)

But the PDF type is always PDF 1.3 (Acrobat 4.x)
How I can still improve? Why this difference between me and the customer? :roll:

Have a nice day!
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: PDF Converter 3.02 in XP/2003 generates too large file

Post by Jose »

Hello,

If the PDF files have different version numbers than there is definitely a difference in the printer settings in the PDF Converter between you and your customer.

At your location, have you tried installing your application on a clean PC?

One other thing that my help you in reducing the file size is downsample images to fit output resolution and Remove Duplicate Images.

I have included below a code snippet on how to enable this option.


HANDLE hPrinter;
hPrinter = PDFDriverInit( "My Application Converter" ); // create a new printer
If ( hPrinter )
{
SetVerticalMargin( hPrinter, 0 ); // set minimum vertical margin to 0
SetHorizontalMargin( hPrinter, 0 ); // set minimum horizontal margin to 0
SetImageOptions( hPrinter, 3 ); // downsample images to fit output resolution + Remove Duplicate Images
SetDefaultConfig( hPrinter ); // make the values default
}


thanks
Jose
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite
lovison@algolsh.it
Posts: 30
Joined: Fri Apr 04 2003

Re: PDF Converter 3.02 in XP/2003 generates too large file

Post by lovison@algolsh.it »

:D :D :D :D

Perfect!
With SetImageOptions( hPrinter, 3 ) the size of customer's pdf is acceptable!

Thank you very much!

Best regards.
LF
Post Reply