[PyQt] QtWebKit .... printing

Matt Smith melkor at orangepalantir.org
Mon Sep 29 14:17:36 BST 2008


Hello I am having some trouble printing.  As this is my first post I
will omit the code, but the problem is this, when I print from a
QWebView the printer crashes, if I have it write a pdf file, the pdf
file looks great, but the printer crashes when I print that file with
lpr.  

On the other hand, if I paint my QWebView onto a QPixmap, then put that
QPixmap onto a QLabel and print the QLabel, it works fine.

I almost think it is a bug in the way that QWebView writes to the
Printer.

thanks
mbs



More information about the PyQt mailing list