X
Tap here to go to the mobile version of the site.

Support Forum

Firefox won't print entire web page

Posted

Sometime recently (as of 11/3/19) Firefox ceased to reliably print entire web pages. Instead it prints the first, last, and sometimes one middle page. The print preview function suffers the same error. Since the problem shows up in print preview I don't believe that it is related to the configuration of a specific printer. It doesn't seem to be a coding error in the web page as other browsers like IE, Chrome, and Opera render the page accurately. Because I don't print pages often, I can't tell with what version the problem showed up.

Sometime recently (as of 11/3/19) Firefox ceased to reliably print entire web pages. Instead it prints the first, last, and sometimes one middle page. The print preview function suffers the same error. Since the problem shows up in print preview I don't believe that it is related to the configuration of a specific printer. It doesn't seem to be a coding error in the web page as other browsers like IE, Chrome, and Opera render the page accurately. Because I don't print pages often, I can't tell with what version the problem showed up.

Chosen solution

Hi James, as more and more web pages adopt modern layout styles, Firefox's print engine has not been keeping up. There is work in progress on that, but it's slow because there are so many other priorities.

The example you described sounds like situation where Firefox is treating a large block of content as unbreakable. It moves that block to a new page, but anything that doesn't fit on the page just runs off the bottom. The if there is more content after that, it goes onto the next page. Frustrating.

I created an extension to work around this by overriding the style rules that Firefox won't break into separate pages. This sometimes creates additional complications, but you still might find it useful from time to time:

https://addons.mozilla.org/firefox/addon/printable-the-print-doctor/

As an example of a page with this problem for testing:

https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs/saveAsPDF

You'll see that using the Allow Page Breaks button makes the full text visible in print preview, but also the sidebar. If you hover the sidebar and use the "tweak panel" to hide it, then there is less waste in the printout. Sorry I can't figure out how to do that automatically.

Read this answer in context 1
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

More Information

Dinushi Dhananjani
  • Top 25 Contributor
4 solutions 193 answers
  • Open your Mozilla Firefox browser.
  • Browse to find the page you'd like to print.
  • Click the orange "Firefox" button from the upper right corner of your screen.
  • Click the "Print" option. ...
  • Select the printer from the "Printer:Name" drop-down button on the selection bar.
* Open your Mozilla Firefox browser. * Browse to find the page you'd like to print. * Click the orange "Firefox" button from the upper right corner of your screen. * Click the "Print" option. ... * Select the printer from the "Printer:Name" drop-down button on the selection bar.
Was this helpful to you? 0
Quote

Question owner

I don't have an orange "Firefox" button anywhere; certainly not in the upper right corner of my screen. Please don't take umbrage but I've been programming since 1959. This issue may be unique to me because of some unseen configuration on my systems, but it is real.

I don't have an orange "Firefox" button anywhere; certainly not in the upper right corner of my screen. Please don't take umbrage but I've been programming since 1959. This issue may be unique to me because of some unseen configuration on my systems, but it is real.
Was this helpful to you?
Quote
Senali Madawala
  • Top 25 Contributor
2 solutions 156 answers

If a web page prints incorrectly in Firefox: Click the menu button and select Print. In the print preview window, make sure Scale is set to Shrink To Fit. ... Make sure the Print to file setting is not selected.

Fix printing problems in Firefox; https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox

If a web page prints incorrectly in Firefox: Click the menu button and select Print. In the print preview window, make sure Scale is set to Shrink To Fit. ... Make sure the Print to file setting is not selected. Fix printing problems in Firefox; https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8792 solutions 71899 answers

Chosen Solution

Hi James, as more and more web pages adopt modern layout styles, Firefox's print engine has not been keeping up. There is work in progress on that, but it's slow because there are so many other priorities.

The example you described sounds like situation where Firefox is treating a large block of content as unbreakable. It moves that block to a new page, but anything that doesn't fit on the page just runs off the bottom. The if there is more content after that, it goes onto the next page. Frustrating.

I created an extension to work around this by overriding the style rules that Firefox won't break into separate pages. This sometimes creates additional complications, but you still might find it useful from time to time:

https://addons.mozilla.org/firefox/addon/printable-the-print-doctor/

As an example of a page with this problem for testing:

https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs/saveAsPDF

You'll see that using the Allow Page Breaks button makes the full text visible in print preview, but also the sidebar. If you hover the sidebar and use the "tweak panel" to hide it, then there is less waste in the printout. Sorry I can't figure out how to do that automatically.

Hi James, as more and more web pages adopt modern layout styles, Firefox's print engine has not been keeping up. There is work in progress on that, but it's slow because there are so many other priorities. The example you described sounds like situation where Firefox is treating a large block of content as unbreakable. It moves that block to a new page, but anything that doesn't fit on the page just runs off the bottom. The if there is more content after that, it goes onto the next page. Frustrating. I created an extension to work around this by overriding the style rules that Firefox won't break into separate pages. This sometimes creates additional complications, but you still might find it useful from time to time: https://addons.mozilla.org/firefox/addon/printable-the-print-doctor/ As an example of a page with this problem for testing: https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs/saveAsPDF ''You'll see that using the ''Allow Page Breaks'' button makes the full text visible in print preview, but also the sidebar. If you hover the sidebar and use the "tweak panel" to hide it, then there is less waste in the printout. Sorry I can't figure out how to do that automatically.''
Was this helpful to you? 1
Quote

Question owner

Thanks for your help. Yours is the first description I've read that fits the data I've seen. Your add-in works as described and will keep me from having to revert to another browser.

Thanks for your help. Yours is the first description I've read that fits the data I've seen. Your add-in works as described and will keep me from having to revert to another browser.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.