Hello, i need some help!!!

I'm new in this....

I have created a intranet and i have created a webmail acess manual.
At the end of that page i put a printer image to open another html code and include this:
<body onload="window.print()">

I need to now how i close this window, whithout any button, at the end of print.

Sorry for my english.
Thanks