Want to know how to add your own Print Button in a web page? This button will print the page in a web browser by using the window.print()
command.
<input type="button" value="Print" onclick="window.print()" id=button1 name=button1>
Please note that this will not work in all browsers
Comments