Prints the current file.
This command displays the Print dialog box, where you can specify the number of copies and the print range for the document you wish to print. Click OK to start the printing.
window.print();
window.print