Dear Support team,
We need your support to get the two quantity licences price of " HTML
to PDF Converter for Java".Please respond at earliest.
Thanks & Regards
Customer
---------------------------------------------------
Thanks for your message, 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
https://www.verypdf.com/order_htmltools_cmd_svr.html
after you purchase it, you can call htmltools.exe from Java code to convert from HTML files to PDF files easily, for example,
--------------------------
package com.rgagnon.howto;
import java.io.*;
public class Exec {
public static void main(String args[]) {
try {
String line;
Process p = Runtime.getRuntime().exec(
"D:\VeryPDF\htmltools.exe -webkit D:\test.html D:\out.pdf");
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 application, please feel free to let us know, we will assist you asap.