Getting Permission denied in IE 7 when trying to print from child window

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Sep 2007
Posts: 3
Reputation: disto is an unknown quantity at this point 
Solved Threads: 0
disto disto is offline Offline
Newbie Poster

Getting Permission denied in IE 7 when trying to print from child window

 
0
  #1
Sep 19th, 2007
Can anyone pls help figure out where i am going wrong with the following code:
[function printPDF(){
popWin = window.open('subsoffer.pdf','popUp','top=0,left=0,height=700,width=1000, resizable=yes, scrollbars=0, menubar=0');
popWin.focus();
setTimeout("popWin.print();",5000);
}]
This function printPDF() is invoked when through the onclick event applyed to <td>.
So far a PDF is opened as a popup and a print dialog window is also opened soon after the PDF window. This is what i want but it only works in firefox and not in IE 7.In IE 7 the PDF popup is opened but the print dialog is not opened, instead i get a Permission denied error in IE 7. What could be causing this? You help so much appreciated
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Getting Permission denied in IE 7 when trying to print from child window

 
0
  #2
Sep 20th, 2007
Check the browser security settings first.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC