Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Printing Problems after update

  • 13 回覆
  • 4 有這個問題
  • 1 次檢視
  • 最近回覆由 derek48

more options

Hello Community, Upon updating Firefox today, some sites are cutting off the majority of the page and printing in the top-left corner. I've tried the following and none have helped:

Close and reopen Firefox Refresh Firefox Uninstall and reinstall Firefox Restart my computer Print from the system dialog Print from the Firefox dialog Cleared all add-ons Print from a different computer with a different FF account Print to a different printer Print to PDF

I've attached the PDF (after converting to JPG as required by this page) which was printed through Firefox which shows the issue. The same page prints normally in Edge and Chrome. I printed the same page yesterday without issue and when I did the test from another computer with a different FF account, it printed normally, the browser updated and had the problem so it's definitely something with the most recent FF update.

This may seem minor in scope since it only effects certain sites but it's a huge problem for me as I print quite a few pages from this site daily for order processing. Thank you to anyone who can help!

Derek

Hello Community, Upon updating Firefox today, some sites are cutting off the majority of the page and printing in the top-left corner. I've tried the following and none have helped: Close and reopen Firefox Refresh Firefox Uninstall and reinstall Firefox Restart my computer Print from the system dialog Print from the Firefox dialog Cleared all add-ons Print from a different computer with a different FF account Print to a different printer Print to PDF I've attached the PDF (after converting to JPG as required by this page) which was printed through Firefox which shows the issue. The same page prints normally in Edge and Chrome. I printed the same page yesterday without issue and when I did the test from another computer with a different FF account, it printed normally, the browser updated and had the problem so it's definitely something with the most recent FF update. This may seem minor in scope since it only effects certain sites but it's a huge problem for me as I print quite a few pages from this site daily for order processing. Thank you to anyone who can help! Derek
附加的畫面擷圖

被選擇的解決方法

A Firefox update (Firefox 90.0.2) has been released to fix this printing bug in Firefox 90. Release notes: https://www.mozilla.org/en-US/firefox/90.0.2/releasenotes/ (quote) Fixed truncated output when printing (bug 1720621)

從原來的回覆中察看解決方案 👍 0

所有回覆 (13)

more options

Hi Derek, some possible issues might be:

(1) Scaling set to a fixed percentage (instead of Fit to page width)

(2) Crazy margins

(3) Firefox stored the wrong paper size for the printer

For #1, it's easy for you to check. If that causes the print to shrink within the upper left corner, then we should investigate #2 and #3.

(A) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(B) In the search box in the page, type or paste print_margin and pause while the list is filtered

Firefox should display top, left, right, and bottom margins for all of the printers you have used. If you are using inch measurements, the values typically would be in the range of 0.2 to 0.5 (often with numerous additional digits).

(C) If you need to fix a value, double-click that row to display an editing field, and change the value to 0.5 or whatever you like, then press Enter or click the blue check mark button to save the change.

(D) In the search box in the page, type or paste print_edge and pause while the list is filtered

Firefox should display top, left, right, and bottom "unprintable area" values for all of the printers you have used. This typically would be a number between 0 and 20 (20 is 0.2 inches).

(E) If you need to fix a value, double-click that row to display an editing field, and change the value to 20 or whatever you like, then press Enter or click the blue check mark button to save the change.

(F) In the search box in the page, type or paste paper_id and pause while the list is filtered

Firefox should display a value for every printer. This number can vary a lot, but some common ones are:

  • 1 => letter size (8.5 x 11)
  • 9 => A4 size

(G) If you need to fix a value, double-click that row to display an editing field, and change the value to 1 or whatever you like, then press Enter or click the blue check mark button to save the change.

Any improvement so far?

more options

Thanks so much for your thorough reply. Unfortunately, the tips didn't address the problem. I had already verified those values in both the FF print dialog and system print dialog but I went through your suggested about:config values to make sure something wasn't wonky and they were correct as you had noted.

Being as how the print was working as normal on my computer yesterday without issue and is exhibiting the same issues on a totally different workstation and account, only after version update, I really think it has to do with the current version of Firefox, 90.0 64-bit according to my About menu, and how it's reading that site. I'm not sure if I'm able to post external links but have you tried printing from the page in the screenshot (per the address in the header) to see if you're having the same issue? All product pages seem to be doing it.

Thanks, Derek

more options

Hi Derek, I see the problem now. The Preview (first screenshot) looks perfect but the actual output (second screenshot) is missing various content. Very strange.

If I adjust the scaling for a better fit (preview/actual attached), the identical text is visible, suggesting that this is not related to a margin, but some characteristic of the page layout that is flummoxing Firefox.

I don't have a good theory about what is going on here.

A typical method of tracking down the source of the problem is to try numerous versions of Firefox between Firefox 89 and Firefox 90 until you figure out exactly what changed. This is a bit time-consuming, so probably not a project either of us can undertake immediately. Let's see what we learn in other threads today. For future reference, this involves a tool named Mozregression: https://mozilla.github.io/mozregression/.

more options

Yep, I was thinking the same. I've seen it on a few other site pages I've printed, more backend stuff which I can't share, so hopefully it's addressed soon. I think if I were to roll back to a previous version, it would work but I'll probably just use Chrome until it's addressed.

Thanks again for your help and input!

Derek

more options

I cross-posted the issue to the r/Firefox subreddit to see whether anyone there recognizes this.

https://www.reddit.com/r/firefox/comments/okdogl/fx90_scaled_printouts_missing_content/

more options

derek48 said

Thanks so much for your thorough reply. Unfortunately, the tips didn't address the problem. I had already verified those values in both the FF print dialog and system print dialog but I went through your suggested about:config values to make sure something wasn't wonky and they were correct as you had noted. Being as how the print was working as normal on my computer yesterday without issue and is exhibiting the same issues on a totally different workstation and account, only after version update, I really think it has to do with the current version of Firefox, 90.0 64-bit according to my About menu, and how it's reading that site. I'm not sure if I'm able to post external links but have you tried printing from the page in the screenshot (per the address in the header) to see if you're having the same issue? All product pages seem to be doing it. Thanks, Derek

Yes i do have same issue for thermal printing

more options

Two of us filed bug reports tonight. Hopefully it can be addressed in an emergency fix so we don't have to wait for Firefox 91 -- this is not acceptable for anyone who needs to print for their work.

more options

Same here. I've duplicated the error on three different PCs, all using Firefox 90.

I print numerous reports that need to be scaled to 50% and printed landscape on legal paper. As soon as the reduction drops below 94% I do not get complete reports. I've switched to Chrome for printing.

On a side note, I see that the word wrap flag has been reinstated in the config file! Yay! No more CTRL-U to get a printable report.

more options

I wrote a script as a potential workaround, which you can run on a page using a bookmarklet (script saved as a bookmark). Here's a brief rundown of how it works:

(1) Check the preview to detect the scaling problem. For example, on https://www.jeffersonscher.com/res/widepage.html --

(2) If you don't have the script, install from https://www.jeffersonscher.com/res/sumomarklets.html#scale4print Drag the button to a convenient location --

(3) Click the bookmark and enter a scaling percentage then click OK. The script will suggest something based on the width of the document body, but it's just a starting point.

(4) Check the preview again. If that was enough, go ahead and print. If it's not right, cancel the preview and click the button again to enter a revised value.

To remove the scaling from the page, click the bookmark one more time and click Cancel.

more options

Reverting to the previous FF version fixes the problem. FF90 besides the page truncation, does not retain the last target printer used, and also appears to not properly load all the printer attributes correctly.

more options

rfm said

Reverting to the previous FF version fixes the problem. FF90 besides the page truncation, does not retain the last target printer used, and also appears to not properly load all the printer attributes correctly.

Firefox 89 did not have the scaling bug. However, older versions are not a recommended workaround. See: Install an older version of Firefox.

I have not experienced any problems with Firefox 90 remembering my last-used printer. Please start a new thread about the problem with printer attributes so we can know more about what you mean.

To start a new thread: https://support.mozilla.org/questions/new/desktop/form

more options

選擇的解決方法

A Firefox update (Firefox 90.0.2) has been released to fix this printing bug in Firefox 90. Release notes: https://www.mozilla.org/en-US/firefox/90.0.2/releasenotes/ (quote) Fixed truncated output when printing (bug 1720621)

more options

I've verified that this has fixed the issue for me.

Thanks, Derek