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

2011-02-09 Thread Marcos Douglas
On Sat, Feb 5, 2011 at 6:13 AM, Michael Van Canneyt wrote: > > > On Fri, 4 Feb 2011, Marcos Douglas wrote: > >> Hi, >> I'm trying to use h2pas in wkhtmltopdf's headers... but I'm found many >> erros. >> Could you help me to translate the headers to use in Pascal? >> >> Command: h2pas libwkhtmltox-

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

2011-02-07 Thread Marcos Douglas
On Mon, Feb 7, 2011 at 5:18 AM, ik wrote: > > 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. The CSS files are in .css extension files. I don't have concern about

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

2011-02-07 Thread ik
On Sun, Feb 6, 2011 at 19:29, Marcos Douglas wrote: > 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 d

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

2011-02-06 Thread Marcos Douglas
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 us

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

2011-02-05 Thread ik
On Sat, Feb 5, 2011 at 12:29, Marcos Douglas wrote: > On Sat, Feb 5, 2011 at 7:46 AM, ik wrote: > > I'm using webkit for it, in pure pascal and the Qt binding. > > No need to translate this program, it's not very hard to do it. > > However because that my program is running in commercial environ

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

2011-02-05 Thread Marcos Douglas
On Sat, Feb 5, 2011 at 7:46 AM, ik wrote: > I'm using webkit for it, in pure pascal and the Qt binding. > No need to translate this program, it's not very hard to do it. > However because that my program is running in commercial environment and > created for specific client, I can not release it a

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

2011-02-05 Thread Marcos Douglas
On Sat, Feb 5, 2011 at 7:13 AM, Michael Van Canneyt wrote: > > With an editor, open pdf.h, and replace the CAPI macro with an empty string. I thought that, but I'm not good on C so... what do this macro? > Then, run > > h2pas libwkhtmltox-0.10.0_rc2\include\wkhtmltox\pdf.h -l wkhtmltox0.dll -o >

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

2011-02-05 Thread ik
I'm using webkit for it, in pure pascal and the Qt binding. No need to translate this program, it's not very hard to do it. However because that my program is running in commercial environment and created for specific client, I can not release it as open source. Ido LINESIP - Opening the source fo

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

2011-02-05 Thread Michael Van Canneyt
On Fri, 4 Feb 2011, Marcos Douglas wrote: Hi, I'm trying to use h2pas in wkhtmltopdf's headers... but I'm found many erros. Could you help me to translate the headers to use in Pascal? Command: h2pas libwkhtmltox-0.10.0_rc2\include\wkhtmltox\pdf.h -l wkhtmltox0.dll -o wkhtmltox0.pas -p Enviro

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

2011-02-04 Thread Marcos Douglas
Hi, I'm trying to use h2pas in wkhtmltopdf's headers... but I'm found many erros. Could you help me to translate the headers to use in Pascal? Command: h2pas libwkhtmltox-0.10.0_rc2\include\wkhtmltox\pdf.h -l wkhtmltox0.dll -o wkhtmltox0.pas -p Enviroment: WinXP SP3 and FPC 2.4.3. Project: http://