
JavaScript Print A Page Button
This script will print out a page, when the user clicks a button.
Example
Script Source
<Under the head section >
<script type="text/javascript">
function printpage()
{
window.print()
}
</script>
<Under the body section >
<input type="button" value="Print this page" onclick="printpage()" />
Please let me know if this script was helpful to you.
[rating]