/    Sign up×
Community /Pin to ProfileBookmark

BcakGround Color ant The Printer?

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?

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@pyroFeb 27.2003 — 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...
Copy linkTweet thisAlerts:
@CharlesFeb 27.2003 — [font=georgia]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:[/font]

[font=monospace]

<link href="screen.css" media="screen" rel="stylesheet" type="text/css">

<link href="print.css" media="print" rel="stylesheet" type="text/css">[/font]
Copy linkTweet thisAlerts:
@said_foxauthorFeb 27.2003 — Thank you alot for your valuable help

?
×

Success!

Help @said_fox spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...