hi,
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.
I did all the things, I can open the popup and and I was calling one javascript function from popup (the function is written in main page), after I close the window, the main page's function is calling, but I was unable to print and was getting the following error popup window.
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?
please advice me