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:
- Unplug the printer USB cable from the computer.
- Go to the Devices and Printers control panel.
- 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.
- 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?