Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

تلاش سپورٹ

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.

مزید سیکھیں

Printing Issues

more options

Firefox (Quantum) is not printing everything on a particular page -- it only prints about half of the information.

But Chrome does print all of it.

We use Firefox here at work so I enter the data on Firefox and use Chrome to print it. I'm so confused as to why Firefox is only printing half of the data but Chrome prints all of it.

I have tried everything from the "printing issues" troubleshooting page including resetting the printer settings and also removing all lines in the prefs.js file that start with print_.

Please help. Thanks!

Firefox (Quantum) is not printing everything on a particular page -- it only prints about half of the information. But Chrome does print all of it. We use Firefox here at work so I enter the data on Firefox and use Chrome to print it. I'm so confused as to why Firefox is only printing half of the data but Chrome prints all of it. I have tried everything from the "printing issues" troubleshooting page including resetting the printer settings and also removing all lines in the prefs.js file that start with print_. Please help. Thanks!

jamesnvlss کی جانب سے میں ترمیمکی گئ

تمام جوابات (20)

more options

Hi jamesnvlss, when you say it only prints half, is that because the content is too long for one page and Firefox doesn't print the second page, or Firefox leaves part of the page blank, or some other situation?

There are numerous layout rules site authors can use which look perfectly fine on screen but which Firefox does not print correctly. Figuring out a solution or workaround may require diving into the details a bit.

more options

jscher2000 said

Hi jamesnvlss, when you say it only prints half, is that because the content is too long for one page and Firefox doesn't print the second page, or Firefox leaves part of the page blank, or some other situation? There are numerous layout rules site authors can use which look perfectly fine on screen but which Firefox does not print correctly. Figuring out a solution or workaround may require diving into the details a bit.

Hi! Thank you for responding!

The content is long so that may be the issue. But it also seems that it is leaving part of the page blank, if that makes sense.

more options

Okay, help me visualize it.

For example, one classic printing problem is that the author used a style rule that makes Firefox think a block of text is unbreakable. Firefox will move it to its own page (leaving part of the first page blank) and if it doesn't completely fit on the second page, the end of the content will run off the bottom of the page.

more options

jscher2000 said

Okay, help me visualize it. For example, one classic printing problem is that the author used a style rule that makes Firefox think a block of text is unbreakable. Firefox will move it to its own page (leaving part of the first page blank) and if it doesn't completely fit on the second page, the end of the content will run off the bottom of the page.

What I'm printing is called a trustee report. The trustee report, once finalized, is viewed in blocks, one right underneath the other. Today's particular report has a total of fifteen blocks (it varies each day) and each block contains fifteen lines each (this does not change).

When I printed today's report for example, from Chrome, it printed all 15 blocks.

When I printed it from Firefox it only printed six of the blocks.

more options

I assume Firefox printed six consecutive blocks and then none of the rest.

Is it a page you can reload, i.e., it's stable once you've finished building the report? In that case, you could try my experimental extension. One of its functions is to change the layout rules that create unbreakable blocks so Firefox can paginate those parts of the page.

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

more options

Yes, Firefox printed six consecutive blocks and then none of the rest.

I can reload but I get this message:

"To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier."

I've added your extension and I see its icon in the toolbar -- how do I use it?

more options

To modify the displayed page, click the icon in the toolbar. Then on the panel injected into the page, click the "Override unbreakable display types" button.

more options

Didn't work. :(

more options

@jscher2000 -- Thank you for your time though! I really appreciate your responses and willingness to help! Thanks again!

more options

I just discovered my co-worker has not updated to Quantum and is running an older version of Firefox (54.0.1) and when she prints the report it prints everything in its entirety.

This must be a Quantum issue or an issue with our site not working well with Quantum.

more options

jamesnvlss said

jscher2000 said
To modify the displayed page, click the icon in the toolbar. Then on the panel injected into the page, click the "Override unbreakable display types" button.

Didn't work. :(

Same result still, that only the first six blocks print?

jamesnvlss said

I just discovered my co-worker has not updated to Quantum and is running an older version of Firefox (54.0.1) and when she prints the report it prints everything in its entirety. This must be a Quantum issue or an issue with our site not working well with Quantum.

There have been a lot of changes between Firefox 54.0.1 (June 2017) and 65.0.2 (February 2019), so it's hard to say which one might be responsible or whether there is a way to address it with a settings change or other workaround.

more options

Yes, same result, even after using your extension as instructed. Oh well, I guess it's a Quantum bug. Or perhaps it's our web site that doesn't work well with Quantum.

Thank you again!

more options

It's possible the site uses some more advanced CSS that didn't work in Firefox 54, so the issue didn't arise until Firefox started implementing those new style rules. Partially implementing, I guess I should say.

more options

Also having a similar issue with Quantum. Last page of a multi-page print out will not print, but will print in Edge or Chrome. I have checked the CSS changes. Switched to using a bootstrap 3.4.1 css, with the same problem. Also tried some @media print css methods to try and solve the issue, with no success.

Print preview also is missing the last page. HTML is a table with a lot of rows.

Any solutions found?

more options

Hi xenial, can you share a link to a page that demonstrates the problem?

more options

It is not a public site, but here is a sample page. Quantum prints 6 pages, missing the 7th. Chrome prints all 7.

https://sfo2.digitaloceanspaces.com/ebay/PrintErrorSample.html

more options

xenial said

It is not a public site, but here is a sample page. Quantum prints 6 pages, missing the 7th. Chrome prints all 7. https://sfo2.digitaloceanspaces.com/ebay/PrintErrorSample.html

Thanks. I can't replicate the problem. Both preview and a PDF printout have all 7 pages.

I tested in my regular Firefox profile, and also in a new test profile. (This is on Windows using Arial; I don't have either of the Helvetica fonts, if that matters.)

After skimming through it, I can't see a reason for it to fail to print completely.

more options

What about printing settings. 100% scale, and margins, headers/footers the same? I am also on Windows. Could it be the printer driver for the printer affecting it, since Quantum uses the windows print dialog?

more options

I did some more testing, and found that it is the 100% vs Fit to page that is the issue. If I set to fit to page, it is correct. At 100% it is missing a page. I also tested multiple versions of Firefox, and this is an issue since Version 52 to current. Before 52, like question owner noted, it is not an issue. For now, I can set everyone to use Fit to page for zoom and see if that solves it. If there is a solution to prevent this, let me know if you find anything.

more options

Aha, yes, I have the default of Shrink to Fit set. At 100% scaling, I lose page 7.

It prints fine (taking 8 pages with large margins) if I delete this inline style rule:

       @page {
           margin: 30px 30px 30px 30px;
       }

or change it to 0.5":

       @page {
           margin: 0.5in;
       }

(Chrome also prints on 8 pages with either change.)

Maybe Firefox doesn't like pixel measurements for print margins?

  1. 1
  2. 2