Go Back   SitePoint Forums > Forum Index > Design Your Site > Web Page Design > Accessibility and Usability
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old Nov 2, 2009, 09:23   #1
mgm_03
SitePoint Evangelist
 
Join Date: Sep 2003
Location: Northern California
Posts: 555
Circumventing printer control of background colors and images

What techniques are there, other than printer Page Setup options, to ensure HTML styled with background colors and background images are printed as displayed on the screen?

AFAIK the printer dialog box has Page Setup options for this but they must be selected.

If there is any other advice for ensuring an accurate web page print-out, pls advise.
mgm_03 is offline   Reply With Quote
Old Nov 2, 2009, 10:59   #2
gary.turner
SitePoint Evangelist
 
gary.turner's Avatar
 
Join Date: Jan 2009
Location: Dallas
Posts: 446
Whether background images or colors are printed is strictly a user controlled decision.

cheers,

gary
gary.turner is offline   Reply With Quote
Old Nov 2, 2009, 17:35   #3
C. Ankerstjerne
SitePoint Wizard
 
C. Ankerstjerne's Avatar
 
Join Date: Jan 2004
Location: The Kingdom of Denmark
Posts: 2,178
...as it should be. Printing a full-colour page can be pretty expensive, and you'll seriously enrage people if you force them to do it.
C. Ankerstjerne is offline   Reply With Quote
Old Nov 2, 2009, 23:02   #4
AlexDawson
SitePoint Mentor
 
AlexDawson's Avatar
 
Join Date: Feb 2009
Location: England, UK
Posts: 4,416
Why would you want to override it anyway? In terms of accessibility the reader will be able to read the contents of the printed page easier if there was no background noise. It would be a seriously bad accessibility practice to force people with vision disorders to try and read from a page which had unnecessary stylistic junk bleeding into the text. Not to mention the cost and ecological impact of all that ink being wasted. Thank goodness you aren't going to be able to force an override of the printing defaults. If the info on the page is that important, it should be visible in the foreground, not loaded in the background (especially as images can be disabled)
AlexDawson is offline   Reply With Quote
Old Nov 3, 2009, 06:00   #5
mgm_03
SitePoint Evangelist
 
Join Date: Sep 2003
Location: Northern California
Posts: 555
this isn't a typical website. it's a web-based user interface designed for a small group of people who will want to print the pages containing tables and graphs for use in reports. we'll add a reminder to check their page setup printing options. i didn't know what forum was best for this post, probably CSS.
mgm_03 is offline   Reply With Quote
Old Nov 3, 2009, 08:15   #6
C. Ankerstjerne
SitePoint Wizard
 
C. Ankerstjerne's Avatar
 
Join Date: Jan 2004
Location: The Kingdom of Denmark
Posts: 2,178
If the colours and images are important to understanding the contents, then you shouldn't use CSS and background images.
C. Ankerstjerne is offline   Reply With Quote
Old Nov 3, 2009, 08:37   #7
mgm_03
SitePoint Evangelist
 
Join Date: Sep 2003
Location: Northern California
Posts: 555
Yes, that's a good point that I considered. However, the only element that this issue applies to is a table that varies in width depending on the data sets it contains. We can't allow cell wrapping so the table must expand.
mgm_03 is offline   Reply With Quote
Old Nov 3, 2009, 14:07   #8
felgall
SitePoint Mentor
SitePoint Award Recipient
 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, NSW, Australia
Posts: 9,620
Quote:
Originally Posted by mgm_03 View Post
the only element that this issue applies to is a table that varies in width depending on the data sets it contains.
If you use a border on the table cells for the print version then that should provide what you need for when backgrounds don't print. Besides which the table will have a fixed width when printed anyway as the paper it is printing on is fixed width.
felgall is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 20:14.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved