1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Cannot print a web page

Discussion in 'General Internet' started by noidea, 2010/10/01.

  1. 2010/10/01
    noidea

    noidea Inactive Thread Starter

    Joined:
    2010/10/01
    Messages:
    5
    Likes Received:
    0
    I ran into a web page that does not allow me to print. I cannot print it to the PDF file, to MS XPS, or the printer. The output only shows couple of surrounding texts, the main part is blank.

    I used IE, Firefox (3.6.10), Chrome on the Windows XP and Windows 7, I also use the Firefox and Safari on the Mac to access the same site, none will render a print. So the conclusion is "the site must be the problem ".

    I know some site use Java scripts to protect the jpg files from being copied (save image as), if the Java is disabled, then the "save image as" will work. On this particular site, I disabled Java, but still cannot print.

    I think the part of the page is rendered with flash or some other technology. So besides doing a "print screen" and get an image file, is there anyway to make it show up in a PDF, XPS file or on the printer?

    Thanks in advance for any good tips ...
    noidea :confused:
     
  2. 2010/10/01
    markmadras

    markmadras Banned

    Joined:
    2010/08/23
    Messages:
    1,529
    Likes Received:
    105
    Try this and we will take it from there.

    http://support.microsoft.com/kb/973479

    If this makes no difference can we have some more details. What version of IE do you have. Can you recall any changes that were made just before this problem occured, updates, upgrades, etc. Have you just got this computer or was there a time when you didn't have this problem.
     

  3. to hide this advert.

  4. 2010/10/01
    goddez1

    goddez1 Inactive

    Joined:
    2002/01/12
    Messages:
    2,975
    Likes Received:
    49
    Hello noidea,

    Care to share the link to the page?
     
    Last edited: 2010/10/01
  5. 2010/10/01
    noidea

    noidea Inactive Thread Starter

    Joined:
    2010/10/01
    Messages:
    5
    Likes Received:
    0
    That MS URL does not apply. my IE version is 8.0.6001.18702. It is not that I cannot print at all, it will print, but part of the page prints blank. So I believe it has something to do with the web page construction. I can print other sites with no problem.
     
  6. 2010/10/01
    noidea

    noidea Inactive Thread Starter

    Joined:
    2010/10/01
    Messages:
    5
    Likes Received:
    0
    The web page is the American Express online payment web page. If you have an AMEX card and have setup the online payment option, try to print the payment page. You only get the surroundings, the main part prints blank.
     
  7. 2010/10/01
    noidea

    noidea Inactive Thread Starter

    Joined:
    2010/10/01
    Messages:
    5
    Likes Received:
    0
    Thanks Markmadras.

    But the MS support page does not apply to my case. My IE version is 8.0.6001.18702.

    For this particular web page, when I print it, it only shows the surroundings, the main part prints blank. I have been using my computer for over a year and have no problem printing other web pages.
     
    Last edited: 2010/10/01
  8. 2010/10/02
    goddez1

    goddez1 Inactive

    Joined:
    2002/01/12
    Messages:
    2,975
    Likes Received:
    49
    Well shoot,

    There goes that idea. I was hoping to see if your problem is reproducible. Unfortunately this is not do-able for myself. Sorry. Now I have "no idea ". Payments due, I have a plenty, American Express I have none.
     
    Last edited: 2010/10/02
  9. 2010/10/02
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,896
    Likes Received:
    389
    A thought for you ....

    On the Windows 7 machine use the Snipping Tool to capture either the screen or just the parts you are interested in.

    It may well be that the page is coded to prevent printing.
     
  10. 2010/10/02
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    You cannot code a Web page to prevent printing. CSS code can be used to deter printing and stop printing for the ordinary user, but printing can still be done by users who know the workarounds.

    But it's possible that the page in question contains elements inside a frame or an iframe. That equates to multiple pages and you must select which page to print. And those pages displayed inside frames and iframes can contain CSS code to prevent printing, but even they can still be printed, with a bit more work.

    The CSS code used that "stops" printing is this:
    <style type= "text/css" media= "print ">
    body { visibility: hidden; display: none }
    </style>


    If a Web page contains such code you must view the source of the page, copy+paste the source code into Notepad, remove the CSS code and save the document as xyz.html. Then open in browser and print. (this won't work for https sites that require a login)

    Or you can copy just the parts of the page you need from the source code and do the same.

    Or you can use Select All > Copy+Paste into Word and print.

    Check the AmEx site again. Most secure banking type sites have direct links to print your data or download PDF statements.
     
  11. 2010/10/04
    noidea

    noidea Inactive Thread Starter

    Joined:
    2010/10/01
    Messages:
    5
    Likes Received:
    0
    TonyT, thanks for your in-depth reply.

    Not sure why the programmers who coded the AmEx webpage choose to do so, maybe they just copy someone else's code without really understand what the code does, since you can always do a "print screen ", what's the logic of preventing the printing?
     
  12. 2010/10/04
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Security. If it's a secure site (HTTPS) then printing can open the door to security exploits, depending upon the server side scripting used (ASP, PHP, JSP, etc).
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.