Need Price list for HTML to PDF Converter for Java. How to call htmltools.exe from Java source code?

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,

http://www.verypdf.com/app/html-converter/try-and-buy.html#cmd
http://www.verypdf.com/htmltools/htmltools.zip
http://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.

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

This entry was posted in HTML Converter (htmltools) and tagged , . Bookmark the permalink.

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!