File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes on-the-fly pdf convertion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "on-the-fly pdf convertion" Watch "on-the-fly pdf convertion" New topic

on-the-fly pdf convertion

nazmun begum

Joined: Feb 04, 2006
Posts: 2
Hi all, we have used linux ES4 server.we need to convert any files to pdf.
we are able to do it only txt to pdf using iText.jar API. but our requirement is convert any files(.doc,xsl,txt,gif etc) to pdf on-the pdf file. please help me how to do it JSP Project.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

There is nothing in JSP for working with PDFs.
Moving to Other Open Source Projects where Apache-Fop, iText, etc.. are discussed.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
DOC-to-PDF is hard. Have a look at OpenOffice, which can read DOC and generate PDFs (some links are here.

XSL is just text, so you can treat it just like you would treat text files. iText can handle images like GIFs as well as text.
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
try using iText for on the fly pdf conversion.Not only pdf but a few other formats.

Rahul Bhattacharjee
LinkedIn - Blog
I agree. Here's the link:
subject: on-the-fly pdf convertion
It's not a secret anymore!