<button onclick="window.print();return false" >Print this page</button>
onclick="window.print();return false;