That's javascript for the pdf, it has nothing to do with the browser. Best Regards, Paulo Soares
> -----Original Message----- > From: Pablo Jimenez [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, February 13, 2003 12:43 > To: itext > Subject: [iText-questions] javascript > > Hello, > > I have made a document in a servlet. How to print and close the window in > the client browser? > > writer.addJavaScript("this.print(false);",false); //this work very good > writer.addJavaScript("document.close()",false); //this don't work > > Thank you. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions