aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Java API for PDF generation. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java API for PDF generation." Watch "Java API for PDF generation." New topic
Author

Java API for PDF generation.

Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 443
    
    1


In need for an API for generating PDF docs. Would like a comparison among them.

Anybody who has used should be able to give a pointers.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42600
    
  65
See the AccessingFileFormats page.


Ping & DNS - my free Android networking tools app
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 443
    
    1


Thank you.

I would be using this for a commercial purpose so that basically rules out iText.

As about the rest I'm looking for one which is configurable, not too complex and permits a fair share of features.

FOP looka interesting but what are its known drawbacks?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42600
    
  65
I would be using this for a commercial purpose so that basically rules out iText.

iText is available under a business-friendly license as well; check their web site.

FOP looka interesting but what are its known drawbacks?

FOP makes sense if the data is in XML format already, or can be transformed into XML w/o much effort. But you'll need XSL-FO skills, and not many people have those since it's not used all that much.
Shahzad Latif
Greenhorn

Joined: Apr 28, 2011
Posts: 28
Hi Raj,

You may use Aspose.Pdf for Java to create PDF files from scratch. This component is written in Java and can be easily used in Java applications. It provides quite flexible API to create PDF files with various features. The details along with working examples can be found in the documentation.


Developer Evangelist @ Aspose. I love to explore and learn new technologies and help other developers along the way.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java API for PDF generation.