How to display background image on printing paper


1. To enable background printing in Chrome and Safari web browsers add the following line in your css file

body{
-webkit-print-color-adjust:exact;
}

2. In FireFox by default "Print Background colours and images" turned off in their print settings,no CSS will override that.

User should manually turn on if background image is required.

Steps for turn on background in IE:

Go to File -->Page setup -->Formats & Options -->Tick Print background(images & colors)
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s