I guess you want drawings or charts.  Normally, when I think of reports
I
think of long tables.  We are using apache FOP to produce pdf's for
that.
I think that using a codec to produce gif's or png's would come out
better
for report-type images than jpg's.  You can get a gif codec at
www.acme.com.  The problem with using images embedded in html is that
users
cannot save without saving all the embedded images, Javascript, and CSS.

Alex Amies

-----Original Message-----
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 7:14 PM
To: [EMAIL PROTECTED]
Subject: Opinion: JPEG from SVG -> applet with hidden panel -> print?


I'm looking for opinions on a strategy for generating and printing
formatted
reports from a web application.

I'm considering having a servlet build SVG, and then use Batik (Apache
SVG
tools) to generate a JPEG, then transmit that to an applet, which
renders the
JPEG in a hidden panel and uses the print API to print the report.

Are there any inherent problems with this approach?  Are there better
ways to
do it?

--
===================================================================
David M. Karr          ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to