This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Need help Urgently

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
I know this is not the place to post my question. But i have seen lot of good tech people here thats why i am posting.
I have one question for you.At present we are generating some offline reports and sending those as txt file attachments in the mail. My task is i have to send them as PDF attachments instead of TXT file. That means i have to convert txt file to pdf file.
How to do this using either java or any other language??
thanks in advance
sreedhar garimella
Note: Pls bare with me for this inconvenience
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pdf? I think you will need to suscribe or buy the adobe acrobat reader that converts to that format.
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
We used a tool called Jreports which used to collect the information from a database and conver it into pdf,html, text or whatever format we desired.I dont know wheter it will convert from text to pdf.But you can check it out.
[This message has been edited by rup desai (edited October 12, 2001).]
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adobe Acrobat converts scanned documents, CAD drawings, electronic files, .txt files etc. to .pdf. You'll have to buy it. I don't know if anything "free" will do it.
Adobe Reader is part of Adobe Acrobat and is a free download and lets you only read .pdf files. You can't manipulate or convert with Reader.
[This message has been edited by Theresa Faulkner (edited October 12, 2001).]
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if your text document is not too complicated, you can try to
create a duplicate in latex, which can be converted to .PS or
.PDF with a couple of command, learn more about Latex, it is
going to help you.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is an alternative solution:
* Get Unix and Netscape
* open the text file from netscape, e.g., /home/user/abcd.txt
* Click Print -> print/save as "abcd.ps"
* In Unix prompt type: "% ps2pdf abcd.ps abcd.pdf"
* This will work
OR the easiest solutions is to use Adobe Acrobat - you will
need buy it
 
Sridhar Garimella
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
Thank you very much for your responses. I am working in those lines.
Regards
Sreedhar Garimella
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually I think you might find the help you need in the Java in General (Intermediate) forum, I'll move it there.
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a couple of good packages for outputing text to PDF. Probably one of the best free ones is iText If you need absolutely dirt easy with no graphics ability, then there is Etymon PJ If your company doen't like the lack of support of Open Source you can use Big Faceless

------------------
I Hope This Helps
Carl Trusiak, SCJP2
 
Good heavens! What have you done! Here, try to fix it with this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!