Use Window.print function to print the page. Here's how:
/* This style basically say that print everything else except the button */
<input onclick="window.print()" type="button" value="Print">
You can use window.print on other object as well and not just the button input object.