• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Need help Urgently

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
And then the flying monkeys attacked. My only defense was this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic