This functionality is supported in Java and other languages (.NET, Python, PHP, Ruby, ObjC). Due to native dependencies it is not a 'pure' java solution, however the same API works on Windows, Linux, and Mac.
As a starting point please take a look at Html2Pdf sample project:
http://www.pdftron.com/pdfnet/samplecode.html#Html2Pdf You can convert Web sites to PDF via URL, load local HTML files, or convert HTML strings (e.g. dynamic content) to PDF. You will need to download the extra DLL from
http://www.pdftron.com/pdfnet/downloads.html. All of this is described as part of the above sample.
Attached is the sample output generated using the provided HTML files.
➢ If we run it at a server with a single processor, what is the license mode?
If you are running PDFNet on a single CPU system you would need a single CPU license (for more info please see
http://www.pdftron.com/store/licensing.html). In case you have more specific sales questions you can forward them to sales at
pdftron.com.
➢ Can I download any trail copy for this add-on?
Yes, a fully functional demo is available from:
http://www.pdftron.com/pdfnet/downloads.html