I recommend using XML as a source document and then use XSLT to render it
to HTML for the browser, then use XSLT to render it to XSL-FO then use FOP
to render it to a PDF for printing purposes.  Having headers and footers
in XSL-FO is quite simple.

                                        Michael Akerman


On Fri, 15 Feb 2002, Chris Pratt wrote:

> To my knowledge, there is no way to controlled the printed output of a standard HTML 
>page.  All that happens is the browser renders the HTML to the printer, so you have 
>no control over that process.  You might be able to use an Applet, which does have 
>control over it's printed output.
>     (*Chris*)
>   ----- Original Message -----
>   From: srinivas tadikonda
>   To: [EMAIL PROTECTED]
>   Sent: Thursday, February 14, 2002 8:23 PM
>   Subject: Re: [JSP-INTEREST] Please help for browser print
>
>
>   Hi,
>
>   I want to print my header each and every page.  How can I do this.
>
>   For exaample:  I created one table with five columns.  Like 
>empname,empcode,empid,city,pin.  This table haveing 20 pages data.  when ever I gave 
>print command that table heading will come to every page.Please help me.
>
>   I want to print five column names each and every page.
>
>
>
>   Regards
>
>   Srinivas
>
>
>
>
>
>   >From: Chris Pratt
>
>   >Reply-To: A mailing list about Java Server Pages specification and reference
>   >To: [EMAIL PROTECTED]
>   >Subject: Re: veru urgent print problem
>   >Date: Thu, 14 Feb 2002 10:16:30 -0800
>   >
>   >Set the to your header, that gets printed on each page in most browsers.
>   > (*Chris*)
>   > ----- Original Message -----
>   > From: srinivas tadikonda
>   > To: [EMAIL PROTECTED]
>   > Sent: Thursday, February 14, 2002 4:13 AM
>   > Subject: [JSP-INTEREST] veru urgent print problem
>   >
>   >
>   > Hi,
>   >
>   > I want to display my heading in each and every page.
>   >
>   > For example: I put some heading like XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX this.
>   >
>   > my total pages are 10. When ever I give print I want to print heading each and 
>every page.
>   >
>   > How can I solve this problem. Please help me. I did this project in jsp. 
>basically my heading in one html table.
>   >
>   > Reagards
>   >
>   > Srinivas
>   >
>   >
>   >
>   >
>   >
>   >------------------------------------------------------------------------------
>   > MSN Photos is the easiest way to share and print your photos: Click Here
>   > =========================================================================== To 
>unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For 
>digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some 
>relevant FAQs on JSP/Servlets can be found at: 
>http://archives.java.sun.com/jsp-interest.html 
>http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp 
>http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
>   >
>   >==========================================================================To 
>unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>   >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>   >Some relevant FAQs on JSP/Servlets can be found at:
>   >
>   > http://archives.java.sun.com/jsp-interest.html
>   > http://java.sun.com/products/jsp/faq.html
>   > http://www.esperanto.org.nz/jsp/jspfaq.jsp
>   > http://www.jguru.com/faq/index.jsp
>   > http://www.jspinsider.com
>
>
> ------------------------------------------------------------------------------
>   Chat with friends online, try MSN Messenger: Click Here
>   =========================================================================== To 
>unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For 
>digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some 
>relevant FAQs on JSP/Servlets can be found at: 
>http://archives.java.sun.com/jsp-interest.html 
>http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp 
>http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
>
> =====================================To unsubscribe: mailto [EMAIL PROTECTED] 
>with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to