Howdy,
It can get tricky and unfortunately support for these type features on
the client side vary dramatically from browser to browser.  There are
some server-side solutions, which typically let you export reports
rather than try to print the HTML.  This may be OK for your needs?

There are also a few client-side HTML/CSS tools to help with this.  Take
a look at the documentation for the CSS
page-break-before/page-break-after tags.

What you really want is a full implementation of CSS3-Paging.  The
standard and documentation is here: http://www.w3.org/TR/css3-page.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: anto paul [mailto:[EMAIL PROTECTED]
>Sent: Monday, March 31, 2003 6:52 AM
>To: [EMAIL PROTECTED]
>Subject: how to print multi page report from jsp
>
>Hi,
>    I have developed an intranet application using jsp/servlets. I need
to
>print a multipage report which have common header and footer. Also I
have
>to
>specify the page size and font. For single page printing I was using
>javascript function window.print(). But it is impossible to use in it
in
>this case. Also I want to avoid the print dialog of the browser. All
client
>machines are using IE 5 or above. Is there any open source java api
which
>can be run inside to generate the report and print it. Or is there any
HTML
>way for it.
>                    Thanx in advance.
>                        Anto
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to