Print View (From a db template)
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
Print View (From a db template)
Two basic ways that a print view page can be generated.http://www.codeave.com/asp/code.asp?u_log=24
Total Hits: 4412
Total Votes: 39 votes
Category: ASP/Content Management
Submitted on: 2008-03-05 04:56:05
Submitted By: Devesh Khanna
Description:
Web pages usually print pretty lousy. Typically, background colors are not displayed (unless you change the browser settings) and depending on site the width may be set much wider than the printer can handle on the horizontal for an 8 ½ page.Providing a printer friendly format adds immeasurable value for your users. There are two basic ways that a print view page can be generated. The first way is with a separate page that just has the “guts” of the page display without the banners and other items (this is how the Print View Icon on CodeAve.com works).
The second is to strategically place a couple of simple tautologies that will display banners and other items in the typical or “default” view and allows a link back to the same page with a querystring value that will be used to suppress everything but the db output. More detail...
Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 15.38% |
6 |
![]() ![]() |
![]() ![]() 15.38% |
6 |
![]() ![]() ![]() |
![]() ![]() 20.51% |
8 |
![]() ![]() ![]() ![]() |
![]() ![]() 15.38% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 17.95% |
7 |





15.38%

15.38%

20.51%

15.38%

17.95%