aspose file tools*
The moose likes JSP and the fly likes How to create PDF file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to create PDF file. " Watch "How to create PDF file. " New topic
Author

How to create PDF file.

himanshu patel
Ranch Hand

Joined: Feb 03, 2003
Posts: 205
Hi all,
Is there any JAVA API to convert simple text/html files to PDF files?
As we do in JAVA to write text file, similarly is it possible through Java to open PDF file
and write to it.
I mean something like, open PDF file first and then write strings to it as we do for TEXT file.
Basically I need to write report in PDF file through servlet/JSP.
Can someone help in this regard?
Any suggestion would be highly appreciated.
Himanshu


If you want to become a rich, do not work for others but make others to work for you.
Manish Sharma
Greenhorn

Joined: Apr 11, 2003
Posts: 10
Hi
You can use iText to ceate pdf file. it is a third party APIs. Just use some classes of iText you can make pdf files. for more details go to this URL http://www.lowagie.com/iText/links.html.
it may help you
waiting for reply
with regards,
Manish Sharma
Originally posted by himanshu patel:
Hi all,
Is there any JAVA API to convert simple text/html files to PDF files?
As we do in JAVA to write text file, similarly is it possible through Java to open PDF file
and write to it.
I mean something like, open PDF file first and then write strings to it as we do for TEXT file.
Basically I need to write report in PDF file through servlet/JSP.
Can someone help in this regard?
Any suggestion would be highly appreciated.
Himanshu
himanshu patel
Ranch Hand

Joined: Feb 03, 2003
Posts: 205
Hi Manish,
Thanks a lot for your quick reply. I am going through it.Hope it would serve my purpose.
Thanks again.
Himanshu
himanshu patel
Ranch Hand

Joined: Feb 03, 2003
Posts: 205
Thanks buddy Manish,
This is what i was looking for.It is very useful
and served my purpose.
Thanks again for your valuable help.
Himanshu
Manish Sharma
Greenhorn

Joined: Apr 11, 2003
Posts: 10
Hi Himanshu,
thats gr8 !! we have worked on pdf reports if any help then let me know .

Manish Sharma

Originally posted by himanshu patel:
Thanks buddy Manish,
This is what i was looking for.It is very useful
and served my purpose.
Thanks again for your valuable help.
Himanshu
 
wood burning stoves
 
subject: How to create PDF file.