How do I open a preview page when clicking on a hyperlink?
Each browser has a preview command in the File menu. I want to make a Print button on the HTML page and after clicking I want to open the preview page. is it possible?
With this we can open the print options
<a href="javascript:window.print()">Print this page</a>
but is it possible to open the print preview page instead of print options?
+2
source to share