Print button + hiding default printed details
Posted: Thu Jul 15, 2010 9:10 am
Hi guys,
I'm after help with a "Print" button please.
I have a page that displays a load of results on a page, I want users to be able to print this page by the use of a Print button that is on the page.
However, I don't want the actual Print button to be displayed on the printout and also, I don't want the url, title tage and date, page number info printed at the top and bottom of the printout.
These seem to just be added by default from all printouts but I don't them to be printed, how do I got about stopping these details getting printed?
The current button I am using is, although this button is displayed when I print out.
Cheers
Wardy
I'm after help with a "Print" button please.
I have a page that displays a load of results on a page, I want users to be able to print this page by the use of a Print button that is on the page.
However, I don't want the actual Print button to be displayed on the printout and also, I don't want the url, title tage and date, page number info printed at the top and bottom of the printout.
These seem to just be added by default from all printouts but I don't them to be printed, how do I got about stopping these details getting printed?
The current button I am using is, although this button is displayed when I print out.
Code: Select all
<input type="button" value="Print" onclick="printpage();">Wardy