How to create a .pdf file and write in it by Java

Go down

Java How to create a .pdf file and write in it by Java

Post by bit0223-sujon on Tue Feb 22, 2011 3:49 pm

Suppose, I have given inputs in a window(like textfield, textarea, combobox etc.). Based on the information I need to write something in a .pdf file. How can I do it? Please reply me quickly.

bit0223-sujon
Global Moderator-RC

Course(s) :
  • BIT

Posts : 98
Points : 218

View user profile

Back to top Go down

Java Re: How to create a .pdf file and write in it by Java

Post by BIT0130-Shakkhor on Tue Feb 22, 2011 11:19 pm

There's and API named iText. It's free and open source and available for both Java and C#. Click here to go to the download page. Also, you may wanna check out the following links:
1. Tutorials
2. Documentation

Edit: There's another alternative thought. There are reporting tools that can do this and a (hell) lot of other stuff too. JasperReports is a reporting tool you may try. However, these are overkill and for simpler tasks, and i strongly suggest iText.

_________________________________________________________________
I'm not a driver with drinking problem.
I'm an alcoholic with driving problem.

Blog | বাংলা ব্লগ
avatar
BIT0130-Shakkhor
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : B+
Posts : 209
Points : 328

View user profile

Back to top Go down

Java Re: How to create a .pdf file and write in it by Java

Post by BIT0201-farhan on Wed Feb 23, 2011 2:46 am

I think this link describe the fact betterhttp://www.vogella.de/articles/JavaPDF/article.html
avatar
BIT0201-farhan
Alpha Release
Alpha Release

Course(s) :
  • BIT

Blood Group : AB+
Posts : 45
Points : 95

View user profile

Back to top Go down

Java Re: How to create a .pdf file and write in it by Java

Post by BIT0112-Rokon on Wed Feb 23, 2011 6:21 am

even I have a book on iText, If you need, I can provide.

_________________________________________________________________


Code Explosion Blog | Code Explosion Wiki | The Rokonoid | নির্ঝরিণী
avatar
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

View user profile http://blog.codexplo.org

Back to top Go down

Java Re: How to create a .pdf file and write in it by Java

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum