you can control how a page prints using a print style sheet.
you attach a print stylesheet using the "media="print"" attribute:
<link rel="stylesheet" type="text/css" media="print" href="print.css" />
in the print style sheet, you could set the divs you dont want to print to be hidden using visibility:hidden;
see the following article from a list apart for more details on print css:
goingtoprint/