[Qt-interest] Webkit printing
Anatoly Burakov
burakov.anatoly at googlemail.com
Mon Sep 21 19:21:28 CEST 2009
Hi all
A little background - i'm writing a custom accounting software that uses
standard government forms for documents (provided in excel format).
Since i am required to be able to print my data on those forms - i chose
to use HTML for that since i am familiar with it and also thought that i
won't have problems trying to print them because i can rely on Webkit
for that. So i exported the forms from Excel to HTML, loaded them and
started printing. Everything worked great except one thing. The forms
are a little narrow to fit on the whole landscape-orientation page. Can
i somehow zoom in so they fit on the page?
I am also required to correctly divide the document into several pages
(using "page-break-before" atm) and i use pageheight < printer.height
for that. Just to remind that if someone knows a way to zoom in a page -
i will also need a way to know the new page dimensions.
Thanks in advance
More information about the Qt-interest-old
mailing list