Hello all !!!!
 
I use iText to create a PDF document. I open the documente in a new window a
function _javascript_:
 
 myWindow = window.open('path/servlet/ServletXXX','window_name','height=400,width=575,scrollbars=1,resizable=1');
 
I print it without the user interaction, but my problem is:
 
How i can closed the new window whe the document finishes printing??
 
The code in _javascript_ :
 
 myWindow.close();
 
doesn`t work.
 
 
 

Thanks in advance for your answer.
 
Regards.

Reply via email to