Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Print a report generated dinamically with header and footer!!!!


Message #1 by fgarcia32@h... on Sun, 21 Jul 2002 19:06:46
Hi

Not exactly sure what you are trying to do but if you use <!--#include 
virtual="/filename.asp"--> for header and footer and create a print screen 
script and call it into the page using the same method as the header and 
footer the page can be printed at the click off a button. If this is any 
help or even what your trying to achieve just ask me for the print screen 
script and I will email it to you..

Kyle.


>From: fgarcia32@h...
>Reply-To: "javascript" <javascript@p...>
>To: "javascript" <javascript@p...>
>Subject: [javascript] Print a report generated dinamically with header and 
>footer!!!!
>Date: Sun, 21 Jul 2002 19:06:46
>
>Hi every body!
>
>I'm working in a project which I have to print a hour report about
>teachers, this report is generated dinamically, I want to know how can I
>print it if I have to put header and footer in every page of the report.
>
>I'm working in asp, ie, IIS 5... here is an example of the report:
>
>the header is a table with the name of the institution where the teachers
>work and its logo.
>
>the footer is a table with only text.
>Page1
>                 Institute ClaroDeLuna
>
>name          HT     HP    HR   Date         Observations
>pepito        5      1      0   05/08/2002   bad teacher
>                          .
>                          .
>                          .
>some text as footer.....
>
>in the second page I should print the rest of the report with the same
>header and footer:
>
>Page2
>                 Institute ClaroDeLuna
>
>name          HT     HP    HR   Date            Remark
>lalo          3      2     1   04/08/2002       new teacher
>                          .
>                          .
>                          .
>some  text as footer.....
>
>I have  to configure the printer to work fine with ie???
>how can I do with javascript??? any ideas???
>
>
>Thanks in advance
>
>
>Fedex
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


  Return to Index