Add the JavaScript code in your page header tags.
<script type="text/javascript">function printpage() {window.print();}</script>
<input type="button" value="Print" onclick="printpage()"/>
No comments:
Write comments