[PyQt] QtWebKit to PDF rendering
Giovanni Bajo
rasky at develer.com
Wed Sep 23 11:21:36 BST 2009
On 9/23/2009 7:47 AM, Dominic Jacobssen wrote:
> Hi all.
>
> I'm a newbie to Qt (but not to Python), and I wanted to ask for "next
> step" guidance.
>
> I want to generate PDF reports by pointing a HTML-to-PDF renderer at a
> server that spits out well-formed XHTML with inline SVG. I know that
> that's a can of worms right there, but I've managed to get a simple
> server up and running using the combination of CherryPy + Genshi +
> PyChart, and firefox renders it, so that seemed promising.
There's already a complete solution available for this:
http://code.google.com/p/wkhtmltopdf/
You may want to have a look at the code.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
More information about the PyQt
mailing list