Internet Explorer prints only HTML

Today I ran into a problem that I hadn’t seen before. A customer’s MSN and Internet Explorer browser (including MSN email and web mail) would only print the HTML coding of a web page or email.

HTML stands for Hyper Text Markup Language and is the programming that is used to present web pages to us and the coding behind text color, bold, etc. in email. We had cleaned some spyware from this users computer earlier in the day, and even printed out some pictures, but a few hours later I received a call about this strange symptom. At first, I thought it was just a forwarded email gone awry, but after arriving on the scene and seeing that word processing documents, test pages, pictures, and spreadsheets all printed fine, the culprit was definitely in Internet Explorer 7.

Deleting temp files, using the IE 7 reset settings button, and changing printers didn’t work. After a few minutes of searching the web for an answer, I came across this jewel of a solution that worked!

  1. Close any open programs
  2. Click Start –> Run
  3. Type: regsvr32 /i mshtml.dll
  4. Press Enter on your keyboard
  5. Click Start –> Run Type: regsvr32 /i shdocvw.dll
  6. Press Enter on your keyboard

That did it! If your Internet Explorer, Outlook Express, MSN, or AOL browser prints only HTML coding, which usually starts with the following text, use the above six steps to restore sanity to your Internet and email printing.

DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” lang=“en” xml:lang=“en”