You can say
<a href="javascript: window.print()">Print Page</a>
But you are not able to print just a selection unless you use CSS to hide eveything else for printing. The user can print just a selection using their print dialog box, but you don't have control over that
Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook