One of hundreds of answers available with our premium content service.
A: Javascript has practically no print configuration options, so it is not possible to control whether the page background is printed or not. If you want to prevent the page background from being printed you can use a media dependent style sheet to set a plain background colour and override any background images that have been set.
Print media style sheets are attached using stylesheet link elements in the head of an HTML document with a media="print" attribute, as below.
… full answer hidden
Premium members click below for full answer
Can we edit the print background property with Javascript?
We love social media, but we do not expect you to create yet another public outpost on the Web.