Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

A number of websites that I use have really bad stylesheets for the print media, but their screen stylesheets are quite good. Is there any way to tell my browser to ignore the print stylesheet and just print with the screen stylesheet? I'd also like to do this when I want to show clients the difference between the two. Thanks.

share|improve this question

migrated from webmasters.stackexchange.com Aug 2 '12 at 11:37

This question came from our site for pro webmasters.

    
If websites in question are of third-parties, maybe you could try Chrome's Developer Tools (Ctrl+Shift+I), then right-click on node/element(the print stylesheet in this case) and select Delete This Node. –  Davinder Aug 2 '12 at 14:52

3 Answers 3

up vote 9 down vote accepted

Using Chrome Developer Tools (Ctrl+Shift+I) is the only thing I have found that works.

  1. Search for all instances of media="screen" and delete that attribute.
  2. Then search for media="print" and delete that whole link.
  3. Then try printing.

This generally gives me the page with screen styling.

If you really just want to disable print styles, you can install the Web Developer extension (I think there is a version for Firefox and Chrome). It has a button to disable print styles. However, it does not extend the "screen" style to print, so most of the time it does not work the way you hope it will.

share|improve this answer
    
Thanks. That's a great solution. Depressing, but great. The main website that I'm having a problem with is Wired, which for some reason prints horribly but looks great on the screen. –  vy32 Sep 23 '12 at 3:52
    
I need a plugin that does this. –  vy32 Oct 26 '13 at 20:31
1  
@vy32 that is not a bad idea at all. I had been wanting to play with Chrome extensions for a while now. Over the holidays I finally had a couple hours. So here is PrintScreen, a little button that you click when a page has custom print/screen css media selectors. link –  James Dec 29 '13 at 19:29
    
WOW. Thanks! That's just what I needed! –  vy32 Dec 30 '13 at 23:23
1  
I suspect this is a user experience issue. Normally I put more focus on user experience, but this time I was just playing around with new techniques and systems, and failed to pay attention. After clicking the PS button you need to click print the normal way. You are right, it would make more sense if I had the extension call the print directly. If I have time this week I will try to update the extension to go straight to the print screen as it really should. Thanks –  James Jan 7 at 16:33

Try to enable "Print background (colors & images)" option in Page Setup and check how it looks in Print Preview (It's for FF).

share|improve this answer
1  
Does not have the desired result. Sorry. –  vy32 Aug 7 '12 at 2:33

1.) Do anything James said ;)

You can check the output opening the Chrome Developer Tools settings (right bottom corner) and select in "Overrides" the option "Emulate CSS media print"-view. By toggling this option you can compare print and screen view. Have fun!

2.) Install this addon: https://chrome.google.com/webstore/detail/print-background-colors/gjecpgdgnlanljjdacjdeadjkocnnamk

Now background-images and colors are printed as well.

Bug: Doesn't work with CSS sprites.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.