Microsoft KB Archive/274527

= Cannot Print File with .htm Extension from Windows Explorer by Right-Clicking =

Article ID: 274527

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 1

-



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 &quot;%1&quot;

to:

&quot;C:\Program Files\Microsoft Office\Office\msohtmed.exe&quot; /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 &quot;%1&quot;

</li> Click OK, click OK, and then click OK.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
Note that this behavior does not occur if you have installed Microsoft Internet Explorer 5.5.

Keywords: kbinterop kbprint kbprb KB274527

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.