The flying saucer is quite neat. https://xhtmlrenderer.dev.java.net/
Under the hood it uses iText, but is a lot easier to setup and use than
itext directly or jasper reports.

I use a freemarker html template styled with css for the layout and
databinding and xhtmlrenderer does the rest. You can just write the pdf to
disk for later reference or write to a ByteArrayOutputStream for a stream
response.

If your layout demands are very simple DynamicJasper might also be worth a
look. You don't need xml templates for that but can generate a simple report
from pure Java.

2009/5/20 Borut Bolčina <borut.bolc...@gmail.com>

> One way of doing it is by generating PDF. See
> http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF which uses
> iText.
>
> You can use JasperReports.
>
> There is
> http://www.chenillekit.org/chenillekit-reports/howto_reports.htmlbut
> the documentation is non existing. I haven't used it, I just know the
> module is there.
>
> -Borut
>
> 2009/5/20 Angelo Chen <angelochen...@yahoo.com.hk>
>
> >
> > Hi,
> >
> > This might not be related to tapestry 5, just a quick question: need to
> > provide a way to print a receipt in my t5 app, any idea how to achieve
> > this?
> > thanks.
> >
> > Angelo
> >
> > --
> > View this message in context:
> > http://www.nabble.com/t5%3A-printing--tp23626244p23626244.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>

Reply via email to