IE9 Error on Script when Printing

I am using Internet Explorer 9. It was working well without issues but when I was about to print something an error is appearing. The error is stating:
An error has occurred in the script on this page.
Then a question below if I want to continue the script or not. Whatever I click between yes or no, the effect is still the same. The error just keeps on re-appearing. What should I do?
Help please.
