Hi all, I have a requirement for printing of a PDF document on load of the page.
As soon as the browser window opens, the PDF document need to be loaded and the print dialogue box of the PDF need to open. This works fine with the following code in IE6.0 But when used with the IE5.0, this does not work <HTML> <HEAD> <TITLE>Intranet End user Pages</TITLE> <script language="javascript"> function callMe(){ frames[0].focus(); frames[0].print(); } </script> </HEAD> <FRAMESET ROWS="*" > <FRAME name="bottom" SRC="temp/abc.pdf" onLoad="javascript:callMe()"> </FRAMESET> </HTML> If I call the onLoad() function in frameset instead of Frame, the IE5.0 will open the print dialogue box of the Browser(File->print) and not of the PDF software. But this is also does not meet my requirement as I need to get the print dialogue box for the PDF software. They are two different dialogue boxes. <FRAMESET ROWS="*" onLoad="javascript:callMe()"> <FRAME name="bottom" SRC="temp/abc.pdf"> </FRAMESET> Thanks Prashanth --------------------------------- Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster.