In my recent project I wanted to convert the HTML page to Pdf. There are many HTML to Pdf convertion libraries available like tcpdf, fpdf (doesnt convert HTML to Pdf) in PHP. Tried using tcpdf for some time but it was very limited.
Then decided why not utilize Webkit. Webkit is a part of Qt library too. We then started looking at PyQT. And it works really well :)