How to add a print button to a web page
===

On one of my pages in my website(coded in php), i'm trying to add 2 (even more) print buttons each one printing a portion of the webpage. For example, on a page there is a table with some values and 2 graphs underneath it. I would like to add 2 print buttons, one button printing the table and the other one printing both the graphs. I've found this [Example][1] but could not understand clearly. Any help or examples would help me.

Thanks in advance.


  [1]: http://haacked.com/archive/2006/03/13/CSSBasedPrintingTip.aspx