How to Modify Page Setup for Printing in Firefox

Print perfectly every time from the Firefox browser

The Firefox browser allows you to modify many aspects of how a Web page is set up before sending it to your printer. This not only includes standard options such as a page's orientation and scale but some advanced features like printing and aligning custom headers and footers. This tutorial explains each customizable option and teaches you how to modify them.

This tutorial is only intended for users running the Mozilla Firefox Web browser on LinuxMac OS X, macOS Sierra, and Windows operating systems.

First, open your Firefox browser. Press the main menu button, represented by three horizontal lines and located in the upper right-hand corner of the browser window. When the pop-out menu appears, choose the Print option.

Firefox print menu


Firefox's Print Preview interface should now be displayed in a new window, showing what the active page(s) will look like when it is sent to your designated printer or file. At the top of this interface are multiple buttons and drop-down menus, including the ability to choose either Portrait or Landscape for print orientation.

Firefox print page setup

If Portrait (the default option) is selected, the page will print in the standard vertical format. If Landscape is selected then the page will be printed in horizontal format, commonly used when the default mode is not sufficient to fit some of the page's contents.


Located directly to the left of the Orientation options is the Scale setting, accompanied by a drop-down menu. Here you can modify the dimensions of a page for printing purposes. For example, by modifying the value to 50%, the page in question will be printed at a scale of half the original page.

Firefox print preview

By default, the Shrink To Fit Page Width option is selected. When activated, the browser will be instructed to print the page in a fashion where it is modified to fit the width of your printing paper. If you are interested in altering the scale value manually, simply select the drop-down menu, and choose the Custom option.

Also found in this interface is a button labeled Page Setup, which launches a dialog containing several print-related options split up into two sections: Format & Options and Margins & Header/Footer.


The Options tab contains several options to change the look of your printed page, including an option accompanied by a checkbox labeled Print Background (colors & images). When printing a page, Firefox will not automatically include the background colors and images. This is by design since most people want to print only text and foreground images.

Firefox print preview options

If your desire is to print the entire contents of a page including the background, simply select the box next to this option once so that it contains a check mark.


Under Options, Firefox also gives you the ability to customize the headers and footers of your print job in several ways. Information can be placed in the left-hand corner, the center, and the right-hand corner on the top (header) and bottom (footer) of the page. Any of the following items, selected via the drop-down menu, can be placed in any or all of the six locations provided.

  • --blank--: If selected, nothing will be shown.
  • Title: The title of the page will be shown.
  • URL: The entire URL of the page will be shown.
  • Date/Time: The current date and time will be shown.
  • Page #: The page number (i.e., 3) of the current print job will be shown.
  • Page # of #: Similar to Page #, this will not only display the number of the current page but also the total number of pages in the current print job (i.e., 1 of 2).
  • Custom...: When this is selected, a message will display prompting you to enter custom text to be printed. This option can prove to be very useful in certain situations.