Html to PDF conversion taking long time with the ExpertPDF/Aspose.Pdf components

Good Samaritan picture Good Samaritan · Oct 10, 2011 · Viewed 8.8k times · Source

I am trying to generate a PDF file based on a dynamically generated HTML report that our webapplication has generated.

The HTML generation and rendering is fast (1-4s) except in older browsers (IE6/IE7), but when I use either one of the mentioned PDF components to generate the PDF version, it can take up to several minutes.

For instance I have an HTML report that contains only text - approximately 1 million characters - which takes ~28s to convert to a PDF file, which is only 1.15MB in size and ~250 pages.

Is there any way to optimize the HTML, to make the job easier for the PDF components?

Answer

sikender picture sikender · Oct 19, 2011

I think you need to check below component for you question..

They give online demo for checking conversion....

http://www.essentialobjects.com/Products/EOPdf/Default.aspx

http://www.winnovative-software.com/

For Ref: Check out this page answer and it's comments...

Convert HTML to PDF in .NET