If you select FILE | PRINT from the browser toolbar, the complete frameset as you see it on your screen will be printed on one page, (Unless the options are changed in the printer properties). A more user friendly way would be to have a button or link within your frameset that will let your visitor print with ease.
A common frameset is one that has a navbar, a header, and a main frame where the pages are loaded, so it will be the main frame contents only that will be printed.
This can be done with the following script.
<script type="text/javascript"> <!-- function printFrame(){ if(window.print){ parent.framename.focus(); parent.framename.print()} } // --> </script>
Where framename is the name of the frame containing the page to be printed.
The script does not necessarily have to go in the page that is going to be printed, it could go in the header or navbar and the button sited within a page or pages shown in the framename as a suggestion to print that page.
If the button or link is going to be in the same page as the script use:
If the button or link is going to be in a different page to the script use:
On the File menu, click Page Setup. In the Header and Footer boxes, specify the information to be printed by using the following variables. Variables can be combined with text (for example, Page &p of &P).