|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Print-friendly pages
I need a script for printable pages. You may have seem it on other web sites. I have provided you with an example below.
Anyway, what I want is to design a main page with full web interface and on this page a button illustrating a printer. Once the user click on the button a new clean page is displayed with preferable a header for a logo. This page can then be printed onced the user click on another 'printer-button'. In short, I would prefer the same solution as provided hyperlink. Please help, as it is urgent. Maybe you even can show me how to manipulate the script, so that the user can print with or without images, ect. I also want to know if it is possible to get a script that can print multiple pages at the same time. For example I might have a button saying ' print whole document' and onced clicked upon the script prints our multiple pages - is that also possible? Importantly, the script I am looking for must work on most web servers, if possible. Thanks for taking time to read this thread. Happy development, WebMAD http://securityresponse1.symantec.com/sarc/sarc.nsf/html/w32.klez.gen@mm.html |
|
#2
|
||||
|
||||
|
There's two main ways I'd do this.
1. Templates - essentially you have a template for normal presentation of data on your site, and you create another template which is a stripped down version of your normal template. This is probably the easiest method. (if you are already using a templating system )2. CSS Printing Extensions - CSS now has a whole bunch of features that allow you to alter your HTML page, removing images etc when printing - google "CSS printing" for more info |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Print-friendly pages |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|