How to print the current page after I closed the popup page with print option.
1) in the current page I have print button, when I click on the this, I open a popup window with print instructions and closes that window. now I need to print the current page directly after I close popup.
An Error Occured During the operation
and I used the function code in popup window is
I used the printPage() function in main page as following.
why the printwindow = window.print(); is not working?