VANJ 0

Is there a way to enable the 'Print background images/colors' browser setting (File/Print Setup) through Javascript or print media CSS?

Similarly, is there a way to specify page orientation (portrait or landscape)?

Thanks

1 answer

1
point

Print background images is 100% a user setting. If the background image contains essential information, then consider whether it should be a foreground image (content).

When people are printing, they are usually concerned with readable content, rather than a facsimile of the web page. If you have side columns which contain nothing but navigation or other matter peripheral to the page's actual content, consider disabling them to provide more width for main content.

Neither B/W vs colour or page orientation are in your control either. Your page has no knowledge of the user's printer configuration.

Answered about 9 years ago by Richard Grevers