Giulio,
TO go back to the last page use:
<a href="javascript:history.back()">Back</a>
To go to next page use:
<a href="javascript:history.forward()">Next</a>
As far as I know the print() function only brings up the printing dialogue box so the user will need to choose whether to print the whole page or just the current frame.
I suggest you read up on javascript for these kinds of commands. You could try www.webmonkey.com they have some good tutorials.
Hope this helps.
Mike
www.digitalegg.net