Create Printer Friendly Version of Webpage

Print
Email
 
winzip icon
Submitted on: 9/19/2002 11:02:09 PM
By: PortJump Pete  
Level: Advanced
User Rating: By 16 Users
Compatibility:ASP (Active Server Pages), HTML, VbScript (browser/client side)

Users have accessed this code 38964 times.
 
author picture
(About the author)
 
     This code allows you to make a print friendly version of you exsisting webpage with minimal fuss by simply inserting a few tags, and passing the page to the print.asp script. I included a demo page so you can actually see where the tags were placed in the code and how it affects the output. There is a demo page and a readme included. Read the text file, upload the demo pages to your server and all questions shall be awnsered. And if there not, just email me. Don't forget to vote and feedback is always welcome!
 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!

    '**************************************
    ' for :Create Printer Friendly Version o
    '     f Webpage
    '**************************************
    Free To use, although any credit you would like to give is appreciated.
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:  
By using this code, you agree to the following terms...  
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.  
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.  
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


[출처] http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=4&txtCodeId=7836