This blog has moved to http://mode13h.azurewebsites.net.
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:
Error: Invalid procedure call or argument
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:
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?
This worked (unlike all the other things I tried). Thanks!
Often the most simple solution is the best! Great job, it worked!
My printer is connected wirelessly.. Im having the same issue..
@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.
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. :)
@Tiffany - Thanks! I'm glad this helped you.
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.
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.