[program-l] Re: HTML: Printing

  • From: "Will Pearson" <will-pearson@xxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Fri, 2 Sep 2005 13:53:18 +0100

Hi Ian,

I don't know how you are generating the reports, but might it not be possible to use scripting, be it server or client side, to determine when a new page starts. This would enable you to insert the header on each new page, as well as increment a counter that you could use to dynamically number the pages. You likely don't want this displayed, and you could get around that problem by including a link to a version formatted for printing, which has become something of a defacto standard for web sites that offer documents as web pages.

Will
----- Original Message ----- From: "Ian Sharpe" <isforums@xxxxxxxx>
To: <program-l@xxxxxxxxxxxxx>
Sent: Friday, September 02, 2005 12:32 PM
Subject: [program-l] HTML: Printing



Hi All,

I want to present a number of identical reports as a continual HTML page to make it easy to print them all off in one go. Each report will have a basic header + body and I intend to use an IE tag to force a page break at the end of each report. Reports will typically be less than a page but could run to many pages in some cases. This is almost good enough and may well suffice. However, the client has asked, reasonably enough, whether it is possible to put the header information at the top of each page rather than on the first page of each report and possibly also include a page number.

I suspect it is possible to tell IE to put page numbers on each page when printing a web page but this is no good. It would have to be relative to the current report.

Does anyone know of any way that I can put the header at the top of each page of the report to which it belongs?

Any thoughts gratefuly received as always.
Cheers
Ian
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq



** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: