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?