Home > Code > Javascript > Print the page using JavaScript (window.print())

Print the page using JavaScript (window.print())

by Narain Siddharth   on Dec 13, 2011   Category: Javascript   |  Views: 1091    |  Points: 25   |  Silver 



Below JavaScript sample code shows how to print the page using window.print() in JavaScript.

 <a href="JavaScript:window.print();">
Print this Page
</a>




Post Code  |  Code Snippet Home

User Responses


No response found, be the first to review this code snippet.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts