Réf. : RE: Dynamically Generate PDF
We are using http://www.lowagie.com/iText/ and it work great ! > I've tried to do this with jsp (without succes), but with a > servlet it can be done quite easy: >Use tex->dvi->ps->pdf (where tex is a TeX document, (LaTeX)) >(maybe it can be done even easier...) > If someone knows how i could do this with jsp, (read tex with > taglibs) i'm eager to know it) > This is a restrictive option. It's much better to use one of the many XML/XSL based packages and generate from there. In this way you can extend the document definitions as needed which with TeX/LaTeX is possible but not the preferable solution in my book. Commercial -- PageLayout - http://www.sitraka.com Open Source --- iText - http://www.lowagie.com/iText/ FOP - http://www.xml.apache.org Other - General Info/Links - http://www.planetpdf.com/mainpage.asp?WebPageID=450
Re: Dynamically Generate PDF
On Wednesday, 25. July 2001 09:47, Kaneda K wrote: >Hello everyone, > >I wonder if anyone there has once generate PDF File from a servlet or > JSP. And could give me some tips. Check out: http://www.lowagie.com/iText/ and/or http://www.etymon.com/pj/index.html Marco -- Marco Ladermann dpa, Deutsche Presse-Agentur GmbH [EMAIL PROTECTED] (PGP-Schlüssel auf Anfrage) Tel. +49 40 4113 2414 Fax +49 40 4113 2479
RE: Dynamically Generate PDF
> I've tried to do this with jsp (without succes), but with a > servlet it can be done quite easy: > Use tex->dvi->ps->pdf (where tex is a TeX document, (LaTeX)) > (maybe it can be done even easier...) > If someone knows how i could do this with jsp, (read tex with > taglibs) i'm eager to know it) > This is a restrictive option. It's much better to use one of the many XML/XSL based packages and generate from there. In this way you can extend the document definitions as needed which with TeX/LaTeX is possible but not the preferable solution in my book. Commercial -- PageLayout - http://www.sitraka.com Open Source --- iText - http://www.lowagie.com/iText/ FOP - http://www.xml.apache.org Other - General Info/Links - http://www.planetpdf.com/mainpage.asp?WebPageID=450 > p.s. It would be handy to cache the results ;p That could of course be easily done using a static java.util.Map and a unique id for each unique doc generated. --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com
RE: Dynamically Generate PDF
> I was working on the same problem and have been told of a > java utility to > convert XSL formatted XML into PDF: > > http://xml.apache.org/fop/ > > I have not tried it yet and I suppose it seems like the long > way round - but > if you are using XML as a format it might be your solution. > > Another drawback might be that the XSL specification is not > yet stable and > could change considerably. I would be interested in what you > find out. FOP is actually a very useful tool and while I haven't worked with it for a while it is quite robust. The only main problems I had with it were: * On large dataset documents it would grind to a halt. * If a entity was too large for a single page things would get messed up. I know from keeping an eye on the fop-dev list that the speed thing has improved in recent releases and there have been multiple discussions of the splitting algorithm over the past couple of months, but I haven't paid real close attention to those. --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com
Re: Dynamically Generate PDF
On Wednesday 25 July 2001 08:47, you wrote: >Hello everyone, > >I wonder if anyone there has once generate PDF File from a servlet or > JSP. And could give me some tips. Yes, I've done it using FOP, found at xml.apache.org. -- Nils O. Selåsdal
Re: Dynamically Generate PDF
Kaneda K <[EMAIL PROTECTED]> wrote: >Hello everyone, > >I wonder if anyone there has once generate PDF File from a servlet or JSP. > And could give me some tips. I've tried to do this with jsp (without succes), but with a servlet it can be done quite easy: Use tex->dvi->ps->pdf (where tex is a TeX document, (LaTeX)) (maybe it can be done even easier...) If someone knows how i could do this with jsp, (read tex with taglibs) i'm eager to know it) p.s.It would be handy to cache the results ;p -- Eduard Witteveen Systeem Ontwikkelaar NOS Internet, Mediacentrum Kamer 203 +31(0)356773059 http://www.omroep.nl/ Sed quis custodiet ipsos custodes? : The sixth Satire from Juvenal
RE: Dynamically Generate PDF
Hi, I was working on the same problem and have been told of a java utility to convert XSL formatted XML into PDF: http://xml.apache.org/fop/ I have not tried it yet and I suppose it seems like the long way round - but if you are using XML as a format it might be your solution. Another drawback might be that the XSL specification is not yet stable and could change considerably. I would be interested in what you find out. Robin Herbert -Original Message- From: Kaneda K [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 25 July 2001 5:48 PM To: [EMAIL PROTECTED] Subject: Dynamically Generate PDF Hello everyone, I wonder if anyone there has once generate PDF File from a servlet or JSP. And could give me some tips.
RE: Dynamically Generate PDF
I haven't done it from servelet, but from a XML I have made a PDF using Apache Cocoon. try it.. you have a example too in it. hope it helps ? Regards Senthil Kumar.r -Original Message- From: Kaneda K [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: Dynamically Generate PDF Hello everyone, I wonder if anyone there has once generate PDF File from a servlet or JSP. And could give me some tips.
RE: Dynamically Generate PDF
You can use Style Report Pro to generate PDF Files dynamically from Java application. -Original Message- From: Kaneda K [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: Dynamically Generate PDF Hello everyone, I wonder if anyone there has once generate PDF File from a servlet or JSP. And could give me some tips.