Aug 232011
 

Problem:
When printing from Internet Explorer the web page is printed as HTML code instead of as the rendered web page.

Cause:
According to online forums and a few quick searches it looks like it is commonly caused by AOL or Windows Updates.

Solution:
The HTM and HTML file associations have become incorrect and need to be fixed. In the registry under HKEY_CLASSES_ROOT\.htm the (Default) key should be set to htmlfile. In my case the .htm key didn’t exist and creating (by saving a web page as a .htm file, going to the file’s properties and changing the program to IE) and then setting it to htmlfile switched the problem from printing code to nothing. Under Internet Explorer Options menu on the Programs tab select the button to make Internet Explorer the Default browser. This should fix the problem and printing along with print view should show the rendered webpage instead of the raw code.