Marcos Douglas wrote 18 lines
On Sat, Feb 5, 2011 at 8:59 AM, ik wrote:
>
> Webkit already translated to Pascal, and you use the API, and the amount
of
> time to use the API is shorter then the amount of time to translate the
> header files imho.
Well... I didn't know that...
> You need to load the page to the browser and use the printer api to print
it
> to pdf (you can also control how exactly it is done), and tell it where
to
> store the pdf.
Not. My program receive a HTML file and convert to PDF file. Just it.
This program will be used from a site coded in (old) ASP, via an
(wrapper) ActiveX.
My first option is use the wkhtmltopdf lib (dll) in my ActiveX. The
second option is use the wkhtmltopdf binary together at my program
(easy way).
Does the html contain all of the style that requires including images (if existed) ?
Please note that the CSS need to be set for printing that is a bit different then viewing.
Show quoted text 7 lines
It contain examples on how to use webkit (please look at them, they does all you require), but you do not require to use the whole API, only small parts of it of <http://doc.qt.nokia.com/4.7/qprinter.html>webkit and the printing API <http://doc.qt.nokia.com/4.7/qprinter.html>.
There is a SVN from sources? Who works in this project?
There are few people who work on this some are on this and Lazarus malling lists.
Show quoted text 7 lines
Ido
LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il