Home » Front End

How to print page using JavaScript ?

Published on 26-Sep-2021 19:19:32
To print a page in JavaScript, use the print() method. It opens up the standard dialog box, through which you can easily set the printing options like which printer to select for printing. Page print in JavaScript is a simple code in JS used to print the content of the web pages. The print() method prints the contents of the current window.(window.print) It basically opens Print dialog box which lets you choose between various printing... Read More