27 ms·
Does anyone know of any other engines like this, either paid or free? We are using this to produce catalogs of 200+ complex pages and it is not handling generat
by dantiberian 15y ago
Does anyone know of any other engines like this, either paid or free? We are using this to produce catalogs of 200+ complex pages and it is not handling generating PDFs of this size very well. It will often become unresponsive and create a memory leak.
- hendrik-xdest 15y agoThat seems to be a qt problem, as far as I know. I think a saw somewhere how to recompile qt to get a more robust solution. The issue tracker of wkhtml is quite helpful here. An easy solution could be to just use extremely short URLs as these seem to affect the space used by wkhtml as well. But that was just my solution for a 200 page output. In addition, if you are using HTML footers or headers, try not to give them any parameters, if possible. Edit: I can't find the best entry at StackOverflow (I remember there must be a Python based solution as well), but this might be a good overview: http://stackoverflow.com/questions/633780/converting-html-files-to-pdf http://stackoverflow.com/questions/633780/converting-html-fi... Some of those are commercial.
- kelvin0 15y agoFor XHTML to PDF: http://www.xhtml2pdf.com/ http://www.xhtml2pdf.com/ For XML to PDF: https://github.com/kelvin0/PyXML2PDF https://github.com/kelvin0/PyXML2PDF
- dochtman 15y agoI think wkhtmltopdf and PhantomJS are the most active open source solutions. There's also http://pypi.python.org/pypi/xhtml2pdf/ http://pypi.python.org/pypi/xhtml2pdf/, written in Python and using ReportLab (which certainly has some nice properties).
- syjer 15y agoIf you are not allergic to java, flying-saucer is quite good http://code.google.com/p/flying-saucer/ http://code.google.com/p/flying-saucer/ .