Dear Support Team,
We need to buy product "HTML to PDF converter with Java library".Please provide the availability information and technical specification for the same.
Thanks & Regards
Customer
--------------------------------------
Thanks for your message, our "HTML Converter Command Line (htmltools.exe)" can be called from Java code to convert from HTML files to PDF files, you may download and purchase "HTML Converter Command Line (htmltools.exe)" from this web page,
https://www.verypdf.com/app/html-converter/try-and-buy.html#cmd
https://www.verypdf.com/htmltools/htmltools.zip
after you download it, you can run following command lines to convert from HTML files to PDF files easily, you can also call these command lines from your Java code to convert HTML files to PDF files,
htmltools.exe -$ XXXXXXXXXXXXXXXXXX test.htm _test1.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX https://www.verypdf.com _web1.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -html2pdf2 test.htm _test_html2pdf2.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit test.htm _test_webkit.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit https://www.verypdf.com _web_webkit.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit https://www.verypdf.com/artprint/docprintsdk.htm _verypdf_webkit.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit2 test.htm _test_webkit2.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit2 -width 1080 -height 1080 https://www.verypdf.com _web_webkit2.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit2 -width 1080 -height 1080 https://www.verypdf.com/artprint/docprintsdk.htm _verypdf_webkit2.pdf
If you encounter any problem with htmltools.exe application, please feel free to let us know, we will assist you asap.
VeryPDF
--------------------------------------
Dear Team,
Is "HTML Converter Command Line (htmltools.exe)" work on windows platform?
Please provide version detail of above given tool.
We have procure html2any in 2015 for java but this product was not working for java.
https://www.verypdf.com/app/html-to-any/try-and-buy.html
https://www.verypdf.com/dl2.php/html2any-cmd-windows.zip
We have facing an issue to convert html to pdf of java api from above tool.
Please suggest and rectify my problem and send me tool upgrade if required.
Thanks & Regards
Customer
--------------------------------------
>>Is "HTML Converter Command Line (htmltools.exe)" work on windows platform?
>>Please provide version detail of above given tool.
Yes, htmltools.exe works on Windows platform, you can call it from your Java code to batch convert HTML files to PDF files on Windows platform.
Here are the command line examples for htmltools.exe application,
htmltools.exe -$ XXXXXXXXXXXXXXXXXX test.htm _test1.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX https://www.verypdf.com _web1.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -html2pdf2 test.htm _test_html2pdf2.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit test.htm _test_webkit.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit https://www.verypdf.com _web_webkit.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit https://www.verypdf.com/artprint/docprintsdk.htm _verypdf_webkit.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit2 test.htm _test_webkit2.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit2 -width 1080 -height 1080 https://www.verypdf.com _web_webkit2.pdf
htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit2 -width 1080 -height 1080 https://www.verypdf.com/artprint/docprintsdk.htm _verypdf_webkit2.pdf
>>We have procure html2any in 2015 for java but this product was not working for java.
>>https://www.verypdf.com/dl2.php/html2any-cmd-windows.zip
>>We have facing an issue to convert html to pdf of java api from above tool.
>>Please suggest and rectify my problem and send me tool upgrade if required.
You can call either html2any.exe or htmltools.exe from your Java code to convert HTML files to PDF files, please refer to following sample code,
-----------------------------------------------
package com.rgagnon.howto;
import java.io.*;
public class Exec {
public static void main(String args[])
{
try
{
String line;
String strCmd = "D:\VeryPDF\htmltools.exe -$ XXXXXXXXXXXXXXXXXX -webkit D:\VeryPDF\test.htm D:\VeryPDF\_test_webkit.pdf";
//String strCmd = "D:\VeryPDF\html2any.exe -page-width 612pt -page-height 792pt https://www.verypdf.com E:\out.pdf";
Process p = Runtime.getRuntime().exec(strCmd);
BufferedReader bri = new BufferedReader
(new InputStreamReader(p.getInputStream()));
BufferedReader bre = new BufferedReader
(new InputStreamReader(p.getErrorStream()));
while ((line = bri.readLine()) != null) {
System.out.println(line);
}
bri.close();
while ((line = bre.readLine()) != null) {
System.out.println(line);
}
bre.close();
p.waitFor();
System.out.println("Done.");
}
catch (Exception err) {
err.printStackTrace();
}
}
}
-----------------------------------------------
If you encounter any problem with htmltools.exe or html2any.exe application, please feel free to let us know, we will assist you asap.
VeryPDF