Removing the browser's printed page header and footer

Updated: 12/31/2017 by Computer Hope

When any web page from the Internet all Internet browsers will automatically print the date, time, page title, or URL of that page on the header or footer. If you want to have this information not displayed on the top or bottom of your printed pages follow the steps below for the browser you're using. These options are also customizable and allow you to change what and where something is printed if you want to keep something but remove other settings.

Microsoft Internet Explorer users
Mozilla Firefox users
Opera users

Internet ExplorerMicrosoft Internet Explorer users

  1. Open Internet Explorer
  2. Press the Alt key to get the drop-down menus and click File.
  3. Click Page Setup.
  4. Remove "&w&bPage &p of &P" from the header if you want to not have a header printed and "&u&b&d" from the footer if you do not want to have a footer printed.

If you want to change these settings or only want to print a specific value use the values in the below table you want in either the header or footer. The codes are case sensitive.

Code Description Example
  Leaving blank will not print anything  
&& Print an ampersand &
&b Separate text
Left text   Right text
&d Number only date 04/11/2009
&D Date in long format Saturday, April 11, 2009
&p Current page 1
&P Total printed pages 3
&t Time 9:12:25 AM
&T Time in 24-hour format 13:12:25 PM
&u Page URL https://www.computerhope.com/
&w Window title Computer Hope
Text Typing any other text prints that text Example text

FirefoxMozilla Firefox users

  1. Open Mozilla Firefox
  2. Click File.
  3. Click Page Setup.
  4. Click the Margins & Headers/Footers tab.
  5. Change the top three and bottom three drop-down menus to "--blank--" if you want to remove all the headers and footers.

If you want to change these settings, select what you wanted to be printed from the drop-down menu.

OperaOpera users

  1. Open Opera
  2. Click File.
  3. Click Print Options.
  4. Uncheck "Print headers and footers."

Additional information