Delen via


Cannot print from IE9

Last night I ran into an issue where I couldn't print from IE9. However, I could print from other programs. If the webpage initiated the print, then I got the following script error:

 Line: 2107
 
Char: 1
 
Error: Invalid procedure call or argument
 
Code: 0
 
URL: res://ieframe.dll/preview.js

It gives you the option to keep running scripts or not but neither option works. If I try to just right-click on the page and hit Print, I get a different error that indicates Internet Explorer failed to print.

I spent entirely too much time reading forum posts and blog entries about how to fix this. Ultimately this was fixed by going through these steps:

  1. Unplug the printer USB cable from the computer.
  2. Go to the Devices and Printers control panel.
  3. Right click on the printer and select Remove Device. In my case the printer could be connected to two computers so it has one for the local machine and one shared on another machine, so I just removed both.
  4. Plug the printer back in.

And that was it. I didn't have to close IE or restart or run regsvr32 like some solutions were saying.

IE9 is an awesome browser in my opinion. I was using some of the earliest builds and ran into all sorts of issues and they were all fixed before RTW. So I think they did a great job on it. The problem is that it gets very frustrating when I sell my wife on how great IE9 is and then a day later she turns around and says "I can't print". What kind of experience is this for the regular customer?

Comments

  • Anonymous
    June 10, 2011
    This worked (unlike all the other things I tried). Thanks!

  • Anonymous
    June 26, 2011
    Often the most simple solution is the best! Great job, it worked!

  • Anonymous
    July 08, 2011
    My printer is connected wirelessly.. Im having the same issue..

  • Anonymous
    July 18, 2011
    @caedmone - I think you should still be able to turn the printer off and do a "Remove Device". Let me know if that doesn't work for you.

  • Anonymous
    November 19, 2011
    Dustin, you are heaven on a webpage! Don't know why I didn't think of this as my experience with PCs thus far is always unplug, reboot, replug, etc. But I'm so glad I found your blog. :)

  • Anonymous
    November 22, 2011
    @Tiffany - Thanks! I'm glad this helped you.

  • Anonymous
    December 08, 2011
    Have tried all the above and am still getting the same problem. Even donwloaded the latest Javascript etc. but to no avail. Very frustrating.

  • Anonymous
    December 09, 2011
    @Senora, one statement confuses me. You said you downloaded the latest version of JavaScript. Maybe you're referring to Java runtime? Either way, does the printer work in other browsers like Chrome or Firefox? If it works there and the steps above didn't work for IE then you may want to try uninstalling IE9. To uninstall you need to go to Control Panel->Programs->Programs and Features->Installed Updates and look for the Windows Internet Explorer 9 update. Once you remove, it sets you back to IE8. You can then try installing IE9 again. I didn't have to do this to get the printer to work and I hope you do not either. But it may be something worth trying.

  • Anonymous
    December 10, 2012
    BTW, I had this same problem with IE10 on Windows 8 on my machine at work. I can't simply unplug the domain-joined printer so I just went to Devices and Printers and removed the domain printer and that solved the problem.