I'm making a screen with lots of information and images, so be good. My problem is that when trying to print this screen, date appears in the header and the link in the footer. Is there any way to remove this other than by browser configuration?
I'm making a screen with lots of information and images, so be good. My problem is that when trying to print this screen, date appears in the header and the link in the footer. Is there any way to remove this other than by browser configuration?
No, it does not exist.
This "feature" is completely independent of your source code. There is no markup that will make them disappear, as this does not come from any HTML specification, and there is no Javascript code to handle this since browser developers generally do not publish API's for this. Even if there was a single API and cross-browser to control printing in this way, removing that information from the printout would interfere with something that is user choice and therefore could be viewed as a security flaw.
Here and there you can see someone suggest a way to work around this when trying to control the print margins . This is a gambiarra and is not guaranteed to work in all browsers - and even if it works, it is unknown how long it will continue to work. I personally believe that there is a special place in hell for all those who try to circumvent the default behavior of browsers.