function printpage(){window.print();}
<input type="button" value="Print this page" onclick="printpage()"&RT;