This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Java: HTML To PDF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Java: HTML To PDF" Watch "Java: HTML To PDF" New topic
Author

Java: HTML To PDF

Nit Kul
Greenhorn

Joined: Oct 26, 2009
Posts: 14
Hi


I know how to convert HTML to PDF using FOP implementation.
This process is very hard and sometimes if the DOM object created is too big, the response timeout occurs.

I would like to know if there is a simpler APIs where a java application can pick up the HTML and convert it to PDF?

- Nitin
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Flying Saucer is really good for CSS-styled XHTML.

By the way, how did you get FOP to work with HTML? I was under the impression that it needed XML.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Java: HTML To PDF
 
It's not a secret anymore!