Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 303486 - Last Review: May 7, 2007 - Revision: 3.4
Error Message When You Attempt to Print a Web Page: An Error Has Occurred in the Script on This Page
This article was previously published under Q303486
In Microsoft Internet Explorer, when you attempt to print a Web page to a file, you may experience one of the following symptoms:
- When you use the Print command on the File menu to
print the Web page to a file, you receive an error message similar to
the following:
An error has occurred in the script on this page.
Line: 1210
Char: 1
Error: Unspecified error.
Code: 0
URL: res://C:\WINDOWS\SYSTEM\SHDOCLC.DLL/preview.dlg
Do you want to continue running scripts on this page?
- When you use the Print Preview command on the File
menu, and then print the Web page to a file from within the Print
Preview window, you receive the following error message:
There was an internal error, and Internet Explorer is unable to
print this document.
In each case, the document is printed correctly.
This behavior occurs if both of the following conditions are true:
- You use a PostScript printer driver.
- You select Encapsulated PostScript (EPS) output in the
printer name Properties dialog box, where
printer name is the name of your PostScript
printer.
This behavior can also occur if you configure your printer to add a header and footer to each page that you print.
To resolve this issue, use the appropriate method.
Postscript Printer Driver
Clear the
Encapsulated PostScript (EPS) output selection in the
printer name Properties dialog box.
Remove Header and Footer from Printer Properties
Use the Printers tool in Control panel to remove or disable any automatic headers and footers. For information about how to do this, please see the printed documentation or online Help file for your printer.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
APPLIES TO
- Microsoft Internet Explorer 5.5 Service Pack 1
- Microsoft Internet Explorer 5.5 Service Pack 2
- Microsoft Internet Explorer 5.5 Service Pack 1
- Microsoft Internet Explorer 5.5 Service Pack 2
- Microsoft Internet Explorer 5.5 Service Pack 1
- Microsoft Internet Explorer 5.5 Service Pack 2
- Microsoft Internet Explorer 6.0, when used with:
- Microsoft Windows Millennium Edition
- Microsoft Windows 98 Second Edition
- Microsoft Windows 98 Standard Edition
| kbbug kberrmsg kbpending KB303486 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate