Printer Friendly - Print button

Use the code below to setup up a button to print a “printer Friendly” page on your website

Simply copy the above code into the head section of your web page. Change printversion.doc to the file intended to be used for printing. The file can be of virtually any format (pdf, Word etc). When the user selects “Print”, the printer will look for this file and print it instead of the current page. Netscape will simply ignore this tag, and print out the original page.

Otherwise, here are a few javascripts to print the page.

Place the following snippet inside of script tags.
function printWindow(){
bV = parseInt(navigator.appVersion)
if (bV >= 4) window.print()
}
Print This Page

Place the following snippet inside of script tags.
if (window.print) {
document.write(’

Click Here To ‘
+ ‘ + ‘onClick=”javascript:window.print()”/> This Page!’);
}
// End –>

Leave a Reply