Can I put a link on my webpage to the Printer ?
To go to the same page like Ctrl-P goes in Firefox, IE.
Thank you.
Just select the desired text on the current page and press CTRL+P. This will bring up the Print dialog, where you can simply select the "Selection" option there. This will print out only the selected text. I just did this on my Firefox 30.0 and it worked perfectly.
All computer browsers today support the keyboard shortcut Ctrl + P (for Windows) or Command + P (for macOS) to start the print process.
You can use this function for print a specific area of web page or full web page content. Use printPageArea() function on onclick event of print button element and provide the content area div ID which you want to print.
<a href="javascript:if(window.print)window.print()">Print</a>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With