If you set your
css up properly, then when you go to print the document, everything other than the part you want to print will be hidden.
You need to use a seperate
css file and in the link line that hooks the file into your pages, you need to set media='print'.