Printing

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

I want to display a print button on my webpages that will
allow visitors to print the webpage they are on without
clicking file then print. What is the commend I need to
use to do this?
 
-----Original Message-----
I want to display a print button on my webpages that will
allow visitors to print the webpage they are on without
clicking file then print. What is the commend I need to
use to do this?
.
And I want to use a picture of a printer to do it
 
this should do it:
<script language=Javascript1.2>
var message = "Print Page";
function printpage() {
window.print();
}
document.write("<form><input type=button "
+"value=\""+message+"\" onClick=\"printpage()\"></form>");
</script>
copy the <script>and</script> and everything inbetween then in FrontPage set
your cursor where you want your print button to appear and click insert/ web
component/ advanced control/ html and paste it into that dialog box.
You should probably paste the above script into notepad then copy it from
notepad and into the web component dialog box to be safe.
HTH
 
Back
Top