Click to See Complete Forum and Search --> : BcakGround Color ant The Printer?
said_fox
02-27-2003, 04:02 PM
Hi,
Is there any way using JavaScript, to make printer feels the background color as another color.
i.e.
Suppose a page with green background. I want the printer to print this page in white background. Is this possible?
Regards:)
If I'm not mistaken, as a default, the printer ignores the background anyway. You have to specifically set it to print, if you want it to...
Charles
02-27-2003, 04:31 PM
Nonetheless, it's nice to send a printer friendly version to the user's printer.
Write your page in HTML 4.01 Strict (http://www.w3.org/TR/html4/) and controlling all of your layout and presentation with CSS2 (http://www.w3.org/TR/REC-CSS2/). Make two external style sheets, one for the screen and one for the printer and link to them thusly:
<link href="screen.css" media="screen" rel="stylesheet" type="text/css">
<link href="print.css" media="print" rel="stylesheet" type="text/css">
said_fox
02-27-2003, 04:45 PM
Thank you alot for your valuable help
:)