Already found out how. Thanks. ----- Original Message ----- From: Victor Papp To: javascript at latech.edu Sent: Thursday, May 10, 2001 10:01 PM Subject: [Javascript] Opening and printing PDF file from a new window Hi, I want to use this code < a href="somefile.pdf" target="_blank">click here< / a> My question: is it possible to have opened the print dialog for printing this file automatically? Like we use it on the body tag: < body onload="window.print()" > Thanks in advance, Victor Papp -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010511/bb1a38e1/attachment.htm>