"Alright Brain, you don't like me, and I don't like you. But lets just do this, and I can get back to killing you with beer." - Homer Simpson
That works only for browsers which supports the feature. And one more thing, default headers and footers (in the browser Page Setup) gets in the way. I personally prefer creating PDF verion of the pages on-the-fly. This approach works exactly the way I want pages to print. How did I do it? I used a PDF software to work with ASP.
Well, in that case download yourself a copy of PHP and get it running on your server. It's free AND it has PDF capabilities built in!
Strictly from a HTML standpoint, you'll find it very difficult to get page breaks to work across all browsers. medic is right. If you really want to get it right, you'll need to use a different technology like PDF.
-Ron
We all play from the same deck of cards, it's how we play the hand we are dealt which makes us who we are. -Me
There are two PDF generator I currently know...Active PDF and PDF Creator Pilot. I had chosen the PDF Creator Pilot (for use in ASP) because it is easier to use (at least for the way I want my PDF created). These softwares are not free, but you can download their demo versions to see which can work best for your style of web application.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.