• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

How to create PDF file.  RSS feed

 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!