Cannot Print File with .htm Extension from Windows Explorer by Right-Clicking (274527)
The information in this article applies to:
- Microsoft Windows 2000 Server SP1
- Microsoft Windows 2000 Professional SP1
This article was previously published under Q274527 SYMPTOMS
When you right-click a file with an .htm file name extension in Windows Explorer and then click Print, nothing may happen. The print job may not be sent to the print spooler, and the file may not be printed.
CAUSE
This issue can occur if you have installed Microsoft Office 2000. Office 2000 changes the Print command for .htm files from
rundll32.exe C:\winnt\system32\mshtml.dll,PrintHTML "%1"
to:
"C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1
RESOLUTION
To resolve this issue:
- Start Windows Explorer.
- On the Tools menu, click Folder Options.
- Click the File Types tab.
- In the Registered file types box, click the HTM extension, and then click Advanced.
- In the Actions box, click Print, and then click Edit.
- Replace the entry in the Application used to perform action box with the following line. Note that this line assumes that Windows 2000 is installed in the Winnt folder on drive C. If this is not the case, adjust the drive letter and folder name in this line. Do not use the Browse button to locate the command; type it as shown:
rundll32.exe C:\winnt\system32\mshtml.dll,PrintHTML "%1"
- Click OK, click OK, and then click OK.
MORE INFORMATION
Note that this behavior does not occur if you have installed Microsoft Internet Explorer 5.5.
Modification Type: | Major | Last Reviewed: | 10/29/2003 |
---|
Keywords: | kbinterop kbprb kbprint w2000print KB274527 |
---|
|