IE7 only prints html

Discussion in 'Internet Explorer' started by mln11, Feb 24, 2007.

  1. mln11

    mln11 Guest

    Since I've installed IE7, my web pages only print the html code, not the
    actual page. I have to use my AOL browser to print web pages.

    I've reset the print settings to print background colors & images, & this
    didn't help. Any advice?
     
    mln11, Feb 24, 2007
    #1
    1. Advertisements

  2. mln11

    Don Varnau Guest

    Don Varnau, Feb 24, 2007
    #2
    1. Advertisements

  3. mln11

    mln11 Guest

    I tried all of the options, and unfortunately no success. Looks like this
    may be a bug in explorer?
    --
    mln


     
    mln11, Feb 25, 2007
    #3
  4. mln11

    dave r Guest

    Me too. Have you found a solution yet? This is a PITA. Firefox works fine for printing the same pages.


    EggHeadCafe.com - .NET Developer Portal of Choice
    http://www.eggheadcafe.com
     
    dave r, Mar 1, 2007
    #4

  5. I could help if you give a specific example, stating exactly what you are doing
    and what you see.


    ---
     
    Robert Aldwinckle, Mar 2, 2007
    #5
  6. mln11

    mln11 Guest

    Thanks for the help. Simply, if I go to any website using Inernet Explorer 7
    as my browser, I am unable to print what I see on the screen. For example,
    if I went to United.com and wanted to print my boarding pass, what prints is
    the HTML code, not the boarding pass. What prints on the page is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL //EN"> , etc, etc,
    and I get about 20 pages of this code.

    This only started happening when I upgraded to Internet Explorer Version 7.
    If I use another browser, such as AOL, I have no issues printing. I'd prefer
    to use Explorer, however.
     
    mln11, Mar 3, 2007
    #6

  7. Well, if it's "any website" it would help to pick one which anybody can test with. ; ) In any case, look at the source for that
    page and see if there is
    a separate .css file for printing. Then, if you had a custom Stylesheet
    (e.g. specified by the Options, Accessibility dialog) I don't know that that
    would override a printer stylesheet too but I wouldn't be surprised if it did
    and then would try disabling the custom Stylesheet.

    However, another relevant test would be to know whether you see the same
    (or related) symptoms with Print Preview or Send Page by E-mail and then
    print from there.

    Another even more relevant test would be picking a different printer
    or different driver if you have one.


    HTH

    Robert
    ---
     
    Robert Aldwinckle, Mar 4, 2007
    #7
  8. mln11

    mln11 Guest

    Here is the source code I see in print preview and when I print. My comments
    are in the previous post.


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD html 4.0 Transitional//EN" ><!-- BUILD
    VER: 3.1.3921.0 --><HTML><HEAD><TITLE id="ttlPrintView">Post print view: Re:
    IE7 only prints html</TITLE><META http-equiv="Content-Type"
    content="text/html; charset=utf-8"><LINK REL="stylesheet" TYPE="text/css"
    HREF="../css/en-US.css"><SCRIPT LANGUAGE="javascript">function
    fnInit(){if(typeof(window.print)!="undefined"){window.print();}}</SCRIPT></HEAD><BODY
    MARGINHEIGHT="0" MARGINWIDTH="0" LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0"
    BOTTOMMARGIN="0" CLASS="WNBody" ONLOAD="fnInit();"><table CLASS="WNTbl"
    cellpadding="8" cellspacing="0" width="100%">
    <tr>
    <TD><BR><H3><span id="lblDiscussionGroup">From Discussion Group:
    microsoft.public.internetexplorer.general</span></H3></TD>
    </tr>
    <tr>
    <TD><table CLASS="WNTbl" cellpadding="0" cellspacing="0">
    <tr>
    <TD><span id="lblSubject"><B>Subject:</B></span></TD>
    <TD width="10" nowrap="nowrap"> </TD>
    <TD><span id="lblSubjectDetail"><B>Re: IE7 only prints
    html</B></span></TD>
    </tr>
    <tr>
    <TD><span id="lblDate"><B>Date:</B></span></TD>
    <TD></TD>
    <TD><span id="lblDateDetail">3/4/2007 9:06 AM PST</span></TD>
    </tr>
    <tr>
    <TD><span id="lblFrom"><B>From:</B></span></TD>
    <TD></TD>
    <TD><span id="lblFromDetail">Robert Aldwinckle</span></TD>
    </tr>
    </table>
    </TD>
    </tr>
    <tr>
    <TD><BR><PRE CLASS="WNBody"><span id="lblMessage">"mln11"

    Well, if it's "any website" it would help to pick one which anybody can test
    with. ; ) In any case, look at the source for that
    page and see if there is
    a separate .css file for printing. Then, if you had a custom Stylesheet
    (e.g. specified by the Options, Accessibility dialog) I don't know that that
    would override a printer stylesheet too but I wouldn't be surprised if it did
    and then would try disabling the custom Stylesheet.

    However, another relevant test would be to know whether you see the same
    (or related) symptoms with Print Preview or Send Page by E-mail and then
    print from there.

    Another even more relevant test would be picking a different printer
    or different driver if you have one.


    HTH

    Robert
    ---


    </span></PRE></TD>
    </tr>
    <tr>
    <TD> </TD>
    </tr>
    <tr>
    <TD><a href="javascript:self.close();" id="lnkClose" CLASS="WNAnc"
    ONCONTEXTMENU="return false;">Close</a></TD>
    </tr>
    </table>
    </BODY></HTML>
     
    mln11, Mar 4, 2007
    #8
  9. mln11

    mln11 Guest

    Thanks for continuing to help. It truly is "any website", because it is the
    browser, not the website. But to try one, you can use this discussion group
    website for an example, click "Print Post" above. I get the source
    code...I'll include it in another post since it is so long.

    In print preview setting, I see the source code. I do not have a custome
    stylesheet, that option is already disabled. I only have one printer here
    and I've already un-installed & re-installed the driver. Based on the number
    of other posts on this site, it seems IE7 has a lot of issues!
     
    mln11, Mar 4, 2007
    #9

  10. Heh. That one uses a stylesheet for printing too.


    That may be an important clue but I don't know what it means.
    Note though that what you would be printing with it would be quite different
    from what you would be printing using the Print Post button.
    As an extreme demonstration of this difference you could open the
    discussion in thread view (e.g. doubleclick on one of the messages
    in the message list) and do the same two tests. Alt-P, Enter, Esc
    (e.g. clicking the Print Post button for the message you doubleclicked on)
    would show you just the text for that message. Alt-F,v (using the Print Preview
    function) would still show you the whole thread.


    You could try adding the Generic / Text Only printer then.
    However, the fact that you see the symptom with Print Preview
    makes me think that you have probably eliminated drivers as a factor.
    It's probably some kind of filetype corruption but I don't know how
    to diagnose it further (easily.)


    This might be a good occasion to try RIES. (Ref. KB923737)

    BTW if you would try it except for passwords, etc. you could
    also use PSPV (from NirSoft) to export those first.


    Good luck

    Robert
    ---
     
    Robert Aldwinckle, Mar 5, 2007
    #10
  11. mln11

    bigtimebug Guest

    The problem occurs because print preview is showing and printing the temp file which is produced just prior to printing. The footer reflects the temp page address and filename. I can't seem to find the file type association to fix the problem. I went through all of the known file types. Didn't find the file association for ie printing.

    Tried the start: run option... - didn't work.
    Uninstalled Printer, etc. - didn't work.

    Does this only happen with printer/fax combos?
    Anyone have a solution yet?



    EggHeadCafe.com - .NET Developer Portal of Choice
    http://www.eggheadcafe.com
     
    bigtimebug, Mar 10, 2007
    #11
  12. mln11

    emwlsn Guest

    hi i'm just wondering if this print problem got fixed for you as i'm having
    the same problem now if it did can you please tell me how to fix it as i used
    to have aol but have now cancelled it so only have ie7 to print from
     
    emwlsn, Apr 10, 2007
    #12
  13. mln11

    bjdjnw Guest

    Hi... just went through the same problem... it was as simple as the following:
    Make sure IE7 is the default browser. Select START>SET PROGRAM ACCESS and
    DEFAULTS. I found that all the defaults were still set to non-IE7 settings
    (ie, AOL was still the setting).

    Also, check the file type associations to print HTML documents. Open
    Windows Explorer, select the TOOLS>FOLDER OPTIONS menu, FILE TYPES tab, and
    scroll down to URL. Select the ADVANCED BUTTON, choose the PRINT command, and
    click the EDIT button. The command to print should read something like:
    rundll32.exe C:\WINDOWS\system32\mshtml.dll,PrintHTML "%1"
    If you've already set the default browser to IE7, this print command should
    already be changed for you..

    That's all it really took to clear the problem. Obviously, you'll want to
    uninstall as much of AOL as you possibly can (it's ALL OVER your computer)
    before doing this.
    I hope that helps!
     
    bjdjnw, Apr 19, 2007
    #13
  14. mln11

    Dominic D Guest

    Resetting internet explorer as the default browser solved the problem. this
    should be done in "SET PROGRAM ACCESS AND DEFAULTS".
     
    Dominic D, May 1, 2007
    #14
  15. mln11

    billbrandi Guest

    I'm having the exact same problem. When I send a print while in IE7 I get
    the HTML code, not the page display. I went to Start>Set Program
    Defaults/Access and seletced IE7 and changed all the settings so that IE7 was
    the default but am having the same problem. I tried also going to Tools>
    Folder Options as you suggested but did not find a File Types tab??????
     
    billbrandi, Jul 5, 2007
    #15
  16. mln11

    Leonard Grey Guest

    "HTML Code May Be Printed Instead of Web Page or Message"
    http://support.microsoft.com/kb/175322/en-us

    Ignore the "...applies to." In Windows XP use the following path:

    Start > My Computer > Tools menu > Folder Options > File Types tab.

    If you do not have a File Types tab and your computer is or was part of
    a domain, it was removed by your system administrator. Otherwise there
    is a problem with your installation of XP - either a misconfiguration
    (sometimes caused by so-called registry cleaners) or an infection.
     
    Leonard Grey, Jul 5, 2007
    #16
  17. mln11

    billbrandi Guest

    I should be specific-I am using Vista, not XP

     
    billbrandi, Jul 5, 2007
    #17
  18. (cross-post added to Vista General)

    What happens if you try to Run... (e.g. press Win-R and enter:)

    control folders

    Perhaps you have to do that as Administrator?
    E.g. right-click on a Command Prompt start icon and choose Run As...
    and then try issuing that command from cmd.exe

    I don't have your OS, so I'm cross-posting this reply to a Vista NG.


    Good luck

    Robert Aldwinckle
    ---


    Note: Poster is a Me too! in an old, somewhat convoluted thread.
    It was subsequently disclosed that Vista is the OS this time.

    http://www.microsoft.com/communitie...rnetexplorer.general&lang=en&cr=US&sloc=en-us

    Use the Click to show or hide... link to see some some of the original thread context.
    Use the Previous... link to see the previous discussions this is being added to.
     
    Robert Aldwinckle, Jul 6, 2007
    #18
  19. mln11

    Joe A Guest

    hi where exactly do I find
    SET PROGRAM ACCESS AND DEFAULTS ?

    thanks
    Joe
     
    Joe A, Mar 17, 2008
    #19
  20. mln11

    Bruce Hagen Guest

    HTML Code May Be Printed Instead of Web Page or Message
    http://support.microsoft.com/?kbid=175322

    Also try resetting IE as the default browser.

    Control Panel | Add/Remove Programs | Set Program Access and Defaults.
     
    Bruce Hagen, Mar 17, 2008
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.