[fpc-pascal] wkhtmltopdf - trying use h2pas...

Marcos Douglas md at delfire.net
Sun Feb 6 18:29:54 CET 2011


On Sat, Feb 5, 2011 at 8:59 AM, ik <idokan at gmail.com> 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).

I got the the lib to Win
http://users.telenet.be/Jan.Van.hijfte/qtforfpc/win_bin-qt4pas-V2.1_Qt4.5.3.zip
There are many functions in qt4.pas... Could you tell me what
functions I can use to do the convertion above?

There is a SVN from sources? Who works in this project?


Marcos Douglas



More information about the fpc-pascal mailing list