[PyQt] Printing HTML in QPrinter with QWebView

Gustavo A. Díaz gustavo.diaz at gmail.com
Thu Sep 3 19:20:12 BST 2009

Hi Guys,

I am having problems with sizes of an HTML template i use to print a receipt
format. It prints as exact size on any web browser, but does not using
QWebView and QPrinter: is way more smaller (even in the preview of

This is the HTML to preview/print:

I really stuck with this in my app.

Any idea?


Gustavo A. Díaz
GDNet Projects
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090903/d5b3ae1d/attachment.html

More information about the PyQt mailing list