<html> <head> <script type="text/javascript"> function printpage(){ window.print() } </script> </head> <body> <form> <input type="button" value="Print this page" onclick="printpage()"> </form> </body> </html>