Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox prints only the first page

more options

I am running Mozilla Firefox 54.0 (64-bit) on Ubuntu 16.04. When I try to print a multi-page web site, it only prints the first page. Even print preview only shows the first page.

I am running Mozilla Firefox 54.0 (64-bit) on Ubuntu 16.04. When I try to print a multi-page web site, it only prints the first page. Even print preview only shows the first page.

All Replies (11)

more options

Check out this basic print page from firefox. Hope it will solve your problem.

https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox

more options

Multi-page printing works on some web sites, but not this one.

https://askubuntu.com/questions/378046/how-to-run-ubuntu-xubuntu-in-a-complete-non-gui-mode

Could it be something in the web site?

more options

I installed Chromium. The web pages printed fine with Chromium...

https://askubuntu.com/questions/378046/how-to-run-ubuntu-xubuntu-in-a-complete-non-gui-mode

I tried Epiphany, but could not get past what a flatpakref file was...

more options

Try using the latest Firefox 56.0 version. Fx 54 had a Bug that iirc wasn't fixed until 56.0 with regards to printing the 2nd and subsequent pages.

more options

Firefox makes me sad sometimes when it comes to printing...

This particular flaw is getting exposed on more and more sites. Every Q&A page has a rule on the body element to use a flex layout, which Firefox doesn't paginate well. You can override that and force a more conventional layout using a bookmarklet:

javascript:void(document.body.style.display="block");

It's annoying to have to specify block display instead of flex display every time, but I guess it depends how often you print on that site. If it's very frequent, this could be converted to a user style that you apply to the page using an extension like Greasemonkey / Tampermonkey / Violentmonkey.


Here's how you set up the bookmarklet, and then to use it, you just click it.

(1) Select and copy this entire script:

javascript:void(document.body.style.display="block");

(2) Right-click a convenient spot on your Bookmarks Toolbar or Bookmarks Menu and choose New Bookmark (note: this doesn't work on the new Library menu).

(3) Paste the script into the Location field, then in the Name field, you can enter BodyBlock or whatever you find useful.

(4) Click the Add button to save the bookmarklet. Setup is done.

When you click the button, it should make that change instantly and most likely invisibly (some panels might shift a bit). While AskUbuntu works for me, Firefox won't run a bookmarklet on a site with a strict Content Security Policy, so this will not work on some other sites.

Modified by jscher2000 - Support Volunteer

more options

Seems like a lot of trouble to go through to print a multi-page web document. It seems the problem is still there. I am running Firefox Quantum 58.0 (64-bit) on Ubuntu 14.04.

more options

I tried the suggestion listed here. That did not help.

https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox

Reset Firefox printer setting Several printer issues can be resolved by resetting Firefox's printer settings: 1. In the address bar, type about:config and press Enter. The about:config "This might void your warranty!" warning page may appear. Click I accept the risk! to continue to the about:config page. 2. In the Search field, type print_printer. 3. Right-click on the print_printer setting and select Reset. 4. Click the Firefox menu , then click Quit. When you start Firefox again, try printing the page with which you had problems previously.

more options

beampower said

Seems like a lot of trouble to go through to print a multi-page web document. It seems the problem is still there. I am running Firefox Quantum 58.0 (64-bit) on Ubuntu 14.04.

Do you mean on that same site? Yes, it's still the same problem.

Please don't hold your breath for old printing bugs to get fixed in Firefox; print output has historically been a lower priority than web browsing features.

If a page doesn't offer a print friendly view that works in Firefox, your workarounds continue to be:

  • Mess with the page to make it printable
  • Use a PDF converter (may have privacy issues when you need to log in)
  • Capture and print a screenshot
  • Use a different browser

Your choice may vary depending on the situation.

more options

beampower said

I am running Mozilla Firefox 54.0 (64-bit) on Ubuntu 16.04. When I try to print a multi-page web site, it only prints the first page. Even print preview only shows the first page.


I also have a similar problem on some pages. Specifically pages with embedded pages / content (e.g. paypal activity reports, etc.). I am able to print, save to a PDF, and show in Mac Preview, however it will only show the first page and the second page is only the header and footer. No additional details / pages are shown.

When I try this on the support.mozilla.org page, it shows just fine, but there aren't embedded windows.

I'm running Firefox Quantum 58.0.2 64bit running on Mac High Serria 10.13.3. This is not a problem when I use Safari or Chrome on the same computer.

I have tried all of the fix firefox printing options by resetting the config, etc. but this is still an issue.

more options

beampower said

I tried the suggestion listed here. That did not help. https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox Reset Firefox printer setting Several printer issues can be resolved by resetting Firefox's printer settings: 1. In the address bar, type about:config and press Enter. The about:config "This might void your warranty!" warning page may appear. Click I accept the risk! to continue to the about:config page. 2. In the Search field, type print_printer. 3. Right-click on the print_printer setting and select Reset. 4. Click the Firefox menu , then click Quit. When you start Firefox again, try printing the page with which you had problems previously.

I've tried all of these as well without any luck. I've had to switch to Chrome when I need to print a website that won't preview or print correctly in Firefox.

more options

ttbutler said

I also have a similar problem on some pages. Specifically pages with embedded pages / content (e.g. paypal activity reports, etc.).

If a page has a frame in it, when you are in Preview, there may be a selector to choose which frame you want to print. Or on the page, you can right-click > This Frame > Print Frame

Not sure whether that will help with the page where you have this issue.