18 Jan 2015

Add Simple Print Button to Website

Learn to add print button on your website

Add this code after where you want to show print button on your website
<input type="button" value="Print Now" onclick="window.print();">
You can use JavaScript to automatically open print dialogue box so that users can print the page. Although most users know they can do something like "File > Print", a "Print Now" option can be nice, and may even encourage users to print the page. Also, this code can be triggered automatically upon loading a printer friendly version.

You should also read this.

Add Simple Print Button to Website
4/ 5
Oleh

Subscribe via email

Share the post above? Please subscribe to the latest information updates directly via email.

Please note before commenting on this page.
1. Don't comment as for advertisement purpose.
2. Don't hyperlink your website inside comment box.
3. Abuses are strictly prohibited.
4. If necessary, you can post the only URL without any text hyperlink.