rtrethewey's answer is basically correct, but there is a problem you should be aware of: IE7 and IE8 ignore the media="print" statement so will not behave as expected. Despite being obsolete, they still account for 16% of global web usage, so they need to be taken into account.
This is particularly a problem if you not only want to suppress non-print parts of the page, but also add print-specific elements. There are a variety of solutions, my point is to mention the need to test your chosen solution on IE8, as well as compatible browser(s). That's basic quality testing I know, but I thought it worth mentioning.