Show print link on screen only

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using the following code to display a "print this page" link but I only
want the link to show on the screen, not on the hard copy.

What am I missing?

*****************************************
In Header:
<script>

function printWindow(){
bV = parseInt(navigator.appVersion)
if (bV >= 4) window.print()
}
</script>

In Body:
<a href="javascript:printWindow()"><font size="2">Print This Page</font></a>
***********************************************************
 
Ken said:
I am using the following code to display a "print this page" link but I only
want the link to show on the screen, not on the hard copy.

Use separate CSS files for print and screen. On the print one set the
property of your "print this page" object property to display:none

www.richardfisher.com
 
Back
Top