How to use javascript-delay function for -webkit2 option in htmltools.exe application during HTML file to PDF file conversion?

Hello,

We are using your htmltools to convert from HTML files to PDF files currently, I'm encounter some problems when break a long HTML file into a multi-page PDF file, the CSS page break in HTML file doesn't work sometimes.

I did some testing today and found out that -webkit2 is working fine with splitting pages, and did some change in styling we use and managed to obtain a good result in terms of styling. So we are thinking about working with -webkit2 instead of -webkit but have some questions.
 
-webkit2 is not working with -javascript-delay 10000 and -run-script-file "javascript.txt" options. Is it possible to use these with -webkit2 like you did with -webkit?

-webkit is automatically generating bookmarks. Is there a way to do it also in -webkit2?

image

Customer
--------------------------------
>>-webkit2 is not working with -javascript-delay 10000 and -run-script-file "javascript.txt" options. Is it possible to use these with -webkit2 like you did with -webkit?

We have implemented "-javascript-delay" function for -webkit2 option today, you may download a new version of htmltools.exe from following web page,

http://www.verypdf.com/app/html-converter/try-and-buy.html#cmd

after you download it, you can run following command line to use "-javascript-delay" and "-webkit2" options together,

image

htmltools.exe -webkit2 -javascript-delay 10000 -width 1191 -height 842 http://www.verypdf.com D:\downloads\out.pdf

htmltools.exe -webkit2 -javascript-delay 10000 -width 1191 -height 842 http://www.verypdf.com D:\downloads\out.jpg

htmltools.exe -webkit2 -javascript-delay 10000 -width 1191 -height 842 http://www.verypdf.com D:\downloads\out.png

However, the -webkit2 option doesn't support "-run-script-file" parameter yet, "-run-script-file" parameter is supported by -webkit option only, but we will try to let -webkit option to support "-run-script-file" function in the future releases.

>>-webkit is automatically generating bookmarks. Is there a way to do it also in -webkit2?

Sorry, the "Auto Create Bookmarks from HTML file" function is exist in -webkit option only, the -webkit2 option doesn't support "Auto Create Bookmarks from HTML file" function at all, but we will try to let -webkit2 option to support "Auto Create Bookmarks from HTML file" function like -webkit did in the future.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!