Print Page Button HTML


Print Page Button With HTML

Here is a little snippet which allows you to print a page. When the print button is selected, you will be able to select a print, adjust settings(if desired) and print the page.

<style>
@media print {
.do_no_print {
    display:none;
}
}</style>

<div>
<form class='do_no_print'><input type="button" value="Print Page"
onclick="window.print();return false;" /></form> </div>
<div>Print the content of the page.</div>