From the menu in the top left corner of your browser, choose “File” --à “Page setup..” --à Go to the second tab called “Margins & Header / Footer”,
in the drop down lists choose “Blank” for all the items you don’t want printed.
If you want, you can also adjust the print margins here as well, Firefox’s default margins are set at 0.5 inches.
Once you have your setting chosen, click “OK”
Internet Explorer 7
By default there’s a small image of a printer, click that and go to “Page Setup…”
à Go to “File”, “Page Setup…”
à Erase the text in the “Headers and Footers text boxes.
Click the “OK” button