07-04-2002, 08:43 AM
Is there a way to format something in asp so we can print the page it with a header, page number, etc. ?
A PDF component may be?
07-04-2002, 12:06 PM
You can assign 2 variables, strHeader and strFooter.
you can outfit the variables with all the tags you need...
strHead ="<table class=head border=0 cellpadding=0 cellspacing=0
width=700 height=40 ><tr><td width=200 height=40 ><img
border=0 src=../images/logo2.jpg width=170 height=70></a></td><td
width=500 height=1> SOME HEADER</td></tr></table><hr>"
Assign the 2 vars before you run your loop. You need to keep track of your loop count, so you can place a header/footer in the correct place.
07-04-2002, 12:19 PM
But how do I force a page Break???
Let's say I have a big HTML table that I generated in ASP.
I now want to make a page that can print the big table with a header, footpage and I don't want my rows to be broken in the middle at the end of a printing page...
Thankx you again!
07-04-2002, 03:11 PM
there are a few CSS properties you can use, here....http://www.w3schools.com/css/css_ref_print.asp