bubonic
28 Apr 2010, 08:29 AM
Hi,
There are certain pages on my site that contain graphs and other tabular data that I would like to provide a "Print" button for; that, when clicked, launched the user's default print dialog and allows the user to print that page...
However, I want to be able to only specify the graph or tables as part of the print. In fact, through this Print button, I don't want the user to be able (!) to print any other components of the page, including the traditional print headers and footers that most browsers insert automatically, such as showing the URL of the page being printed, page numbers, etc.
Is this even possible? How can I basically declare certain sections/divs/etc. of my page printable and only allow those items to be printed through this custom Print button? No headers or footers. No requirement that the user first highlight the graph or table and then print "selected highlighted" in the print dialog...
?
Thanks for any feedback!
bubonic
There are certain pages on my site that contain graphs and other tabular data that I would like to provide a "Print" button for; that, when clicked, launched the user's default print dialog and allows the user to print that page...
However, I want to be able to only specify the graph or tables as part of the print. In fact, through this Print button, I don't want the user to be able (!) to print any other components of the page, including the traditional print headers and footers that most browsers insert automatically, such as showing the URL of the page being printed, page numbers, etc.
Is this even possible? How can I basically declare certain sections/divs/etc. of my page printable and only allow those items to be printed through this custom Print button? No headers or footers. No requirement that the user first highlight the graph or table and then print "selected highlighted" in the print dialog...
?
Thanks for any feedback!
bubonic