website printing headers - Post ID 80635
I have a button on my site calendars that will print just that specific month.
Is there any code I can use that will prevent the printer from adding the title, url, date and time?
Is this something only controlled by the browser?
I am just thinking about ways to make the printouts more visually appealing if someone prints them
Is there any code I can use that will prevent the printer from adding the title, url, date and time?
Is this something only controlled by the browser?
I am just thinking about ways to make the printouts more visually appealing if someone prints them
Yep, that's controlled by the browser. In Firefox and IE 8 the settings are in File>Page Setup.
Cary,
In some cases, it would be nice to be able to override the browser settings.
In some cases, it would be nice to be able to override the browser settings.
Bill, I agree with you, but it is not considered fair practice to do so. Many users adjust their browser preferences due to special needs. Writing any web program that overrides those needs is not allowed by the W3C. Such a coded program would be seen as a Virus by most virus checking software as well.
In the W3C rules, no programming code in a web page is allowed to affect or override the setting used by the end user. Even good .css code can be cancelled out by browser preferences set by the end user. Have you seen those websites that change the look of the mouse curser? For anyone who need visual help setting to see their mouse (high contrast, bigger curser, bruight color) it would not be fair to change those settings without their permission, and hence the reason for the W3C to be strict about what can and can not be changed by the web page coding.
The only thing you can do is list the steps for a user to shut that feature off in their web browser before printing, if the so choose. Then it's up to the end user to decide for themselves if they want it to print the url and date.
In the W3C rules, no programming code in a web page is allowed to affect or override the setting used by the end user. Even good .css code can be cancelled out by browser preferences set by the end user. Have you seen those websites that change the look of the mouse curser? For anyone who need visual help setting to see their mouse (high contrast, bigger curser, bruight color) it would not be fair to change those settings without their permission, and hence the reason for the W3C to be strict about what can and can not be changed by the web page coding.
The only thing you can do is list the steps for a user to shut that feature off in their web browser before printing, if the so choose. Then it's up to the end user to decide for themselves if they want it to print the url and date.
E-Learning Specialist
www.mainsites.ca is my website, and yes, some of it is crappy.
www.mainsites.ca is my website, and yes, some of it is crappy.
Cliff,
Good suggestion. I will check and see how many actually want to print, and see if it is worth the effort to write something that covers all browsers.
Good suggestion. I will check and see how many actually want to print, and see if it is worth the effort to write something that covers all browsers.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.