Click to See Complete Forum and Search --> : Printing Tables with a dark background


webGirl20032003
01-03-2003, 02:56 PM
Why is it, when you have a table with a dark background, and go to print preview, the dark background in the table doesn't show up?

sinhart
01-04-2003, 11:28 AM
If you WANT to print the background then in internet explorer, (i'm not sure about netscape but it should be somewhat simular), go to Tools > Internet Options then click on the Advanced Tab at the top right. Scroll down to the Printing section and check the box next to "Print background colors and images"
The background will now be printed, and probably "produce a printout that is unreadable and wastes ink/toner"

jdavia
01-04-2003, 11:35 AM
If you want to Print everything on the page you can turn it on.
In IE, use Tools/Internet Options/Advanced, then scroll to Print. Check print backgrounds and images. Don't forget to turn it off afterwards, for the reasons mentioned by Dave Clark.

webGirl20032003
01-16-2003, 07:30 AM
Is there any way I can force it to print when people are using my site? It is a table that is one row long, so ink usage shouldn't be a problem, since it is such a small amount.

Thanks

jdavia
01-16-2003, 11:25 AM
Is there any way I can force it to print when people are using my site?

Why in the world would you want to do that! You should make our pages "User Friendly".
Think about the many times you loaded a page and in poped two or more pages that were launched from it.
Think about when you wanted to use the back button when someone disabled it for another reason.
Think about what you are trying to do in forcing print on someone. Will forcing this actually help you in some way, or will it more likely steer them away from your site in the future.
It is a good thing that Browsers are limited to certain operations. All of us will be very unhappy.

sinhart
01-16-2003, 12:10 PM
Perhaps if we knew exactly WHY you wanted to print the background in this particular cell we could offer a work-around that would please both you and your users.

vishva
06-03-2006, 02:09 AM
Is there any way I can force it to print when people are using my site? It is a table that is one row long, so ink usage shouldn't be a problem, since it is such a small amount.

Thanks

You can use "window.print();" as a java script on body tags onLoad event. it will be like
<Body onLoad = "window.print();">

But I think it will be better to put this on clicking a button like

<Input type = Button value = "Print this page" onClick = "window.print();">

raoul
07-26-2008, 03:02 PM
Me too I'd like to print background color, but the command
<Input type = Button value = "Print this page" onClick = "window.print();">
doesn't do that. It prints the page allright, but without background color.

Reason to print background color is that it's a small pink colored form with fields with white background. To make those fields stand out, the form should have a background color.

datapunk79
07-28-2008, 04:58 PM
Reson to print background color is that it's a small pink colored form with fields with white background. To make those fields stand out, the form should have a background color.

If you know CSS then you might want to use CSS to show how the page is to be displayed when someone prints it. You'll be able to change the color of the text on the print version but still keep the original that you have published.

Head over to the CSS forum or Google it for more info.

felgall
07-28-2008, 09:26 PM
The way the page looks depends on the print stylesheets provided by both the page author and the browser owner. If the browser owner decides they want certain things to print in a certain way for all the pages thay visit then that's how they will print regardless of what the page owner wants.