[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
QPrintPreviewDialog).

This is the HTML to preview/print:
http://artistic.lnxteam.org/downloads/pub/OC_receipt/receiptTemplate.html

I really stuck with this in my app.

Any idea?

Thanks.

-- 
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar
-------------- 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