Save file as pdf in java

Hi there,

I want to write text and images and generate a pdf file.

Is it possible in java ?

I read there is itext (requires license), pdfbox(that requires apache). I don't convert text but i want to write and save the file as pdf..

Any help is appreciated. thank you.
zizi21Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
dpearsonConnect With a Mentor Commented:
Yes you can just use the JARs.

Don't confuse the "Apache Software Foundation" (the guys who write and manage the software) with the "Apache Web Server" which is one particular piece of software they own.

PDFBox is just one of the tools from the foundation.  Nothing to do with the Apache web server.

Doug
0
 
dpearsonCommented:
You will need to use a library/tool to do this (PDF is complex).

Another choice is PDFJet which is pretty cheap ($300 for a single developer).
http://pdfjet.com/

Doug
0
 
zizi21Author Commented:
thanks for the reply.

for pdfbox, can i import their jar files without installing the apache server ?
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
zizi21Author Commented:
Thanks so much.
0
 
zizi21Author Commented:
could you please look at this question as well..

http://www.experts-exchange.com/Programming/Languages/Java/Q_28125451.html
0
 
mrcoffee365Commented:
There's a free iText as well.  

Apache has the FOP package (again, it does not require that you also have the apache web server) as well.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.