FIX : Script Error in Internet Explorer error while printing

After reading this post you should be able to fix an error generated in Internet Explorer while printing a page opened in Internet Explorer.

The error might look like this, some lines may as well differ.

An error has occurred in the script on this page.
Line : XXXX
Char: 1
Error : Invalid procedure call or argument.
Code: 0
URL: res/ieframe.dll/preview.js.

Note: Line no. could be anything.

  • Disconnect your printer from the PC & re-connect it.
  • Unplug the printer’s USB cable from your PC.
    If you have a wireless printer just turn the printer off.
  • Open Devices and Printers ( start menu –> devices and printers)
  • Right-click your printers icon and select Remove device.
  • Reconnect your printer to your PC using the USB cable or if you have a wireless printer turn the printer back on.
  • Click on Add a printer and follow the Wizard to Add the printer. ( Select Local printer and let Windows find the printer automatically)

If the above steps don’t help:

  • Go to Start Menu
  • within the search box type Internet Explorer
  • Right Click the Internet Explorer Icon and click Run as Administrator

If the above steps don’t help:

  • Go to Windows update by typing Windows update in Start menu search box and clicking the Windows update button.
  • There in the left pane click on check for updates
  • Go to Optional Updates –> check if a updated driver for your printer is listed there.

Alternatively you can,

  • Go to your Printer Manufacturer’s support website
  • Download and Install updated drivers from there.