Converting .RTF to .PDF in servlet? iText ?
843841Nov 24 2003 — edited Dec 1 2003Hello, I need to find the best way to read in a .RTF file in a servlet and then convert that file to a .pdf and put it in a temp directory. The reason being is that my companies fax server software driver has some issues with converting .RTF files as attachments. I have looked for driver updates and no luck, so I am going to have to fix the problem on my end. I have downloaded the iText.jar lib and am a bit confused as to what it does. I have the manual but from what I have seen it seems like it is mainly for writing out to the screen. I know there is a PDFWriter class but I have only found info on it printing out to the screen, a paragraph at a time.
Once again, my problem is converting a .RTF file to .PDF in a servlet and writing that .pdf to a file dir. If anyone can give me any advise on iText (if it does what I am looking for and how to go about it), or any other direction, I would greatly appriciate it.
Thank you in advance,
Lance