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

搜尋 Mozilla 技術支援網站

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

了解更多

Printing webpages cuts off about 2/3 like printing 15 pages cuts off at 5 pages in print and print preview!!!

  • 9 回覆
  • 2 有這個問題
  • 23 次檢視
  • 最近回覆由 jimveta

more options

If I select 'simplify the page' in print preview most of the time all pages display and print. Otherwise, it only displays a third of the webpages when printing (ANYTHING to ANY PRINTER including PDF).

If I select 'simplify the page' in print preview most of the time all pages display and print. Otherwise, it only displays a third of the webpages when printing (ANYTHING to ANY PRINTER including PDF).

被選擇的解決方法

Hi ktouzin1, Firefox has some bugs with printing, but it shouldn't arbitrarily cut off after one third of the content.

For example, Print Preview should show the entirety of this page (about 10 printed pages): https://www.userchrome.org/what-is-userchrome-css.html

One increasingly frequent problem is pages using style rules Firefox treats as creating an "unbreakable" block of content. Instead of wrapping over to additional pages, it just runs off the bottom of a page into oblivion. Could that be the problem you are seeing?

I hope that problem gets fixed in the future. In the meantime, I created an extension to override some of the problematic style rules so pages print better (in most cases). You could try it if you like:

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

For example, if Preview shows the page is going to cut off, click the extension button and the first button in the drop-down. Then preview again.

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

所有回覆 (9)

more options

選擇的解決方法

Hi ktouzin1, Firefox has some bugs with printing, but it shouldn't arbitrarily cut off after one third of the content.

For example, Print Preview should show the entirety of this page (about 10 printed pages): https://www.userchrome.org/what-is-userchrome-css.html

One increasingly frequent problem is pages using style rules Firefox treats as creating an "unbreakable" block of content. Instead of wrapping over to additional pages, it just runs off the bottom of a page into oblivion. Could that be the problem you are seeing?

I hope that problem gets fixed in the future. In the meantime, I created an extension to override some of the problematic style rules so pages print better (in most cases). You could try it if you like:

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

For example, if Preview shows the page is going to cut off, click the extension button and the first button in the drop-down. Then preview again.

more options

Holy Cramps that plugin worked! This will help my research a lot! Thanks again!

more options

Hi ktouzin1, if you find pages that still can't be "paginated" (Firefox still think they're unbreakable), feel free to let me know so I can see whether I can add a few more tweaks to the extension.

more options

I have this problem too on: https://github.com/ethereum/wiki/wiki/White-Paper It cuts off after page 3 out of 52 but prints (nicely) on Edge, Chrome/Chromium

However, Printable – The Print Doctor add-on worked beautifully to work around the problem!

more options

I found one page where the addon works to properly paginate, but also creates another issue: https://www.lucassaldanha.com/ethereum-yellow-paper-walkthrough-1/ after clicking Override unbreakable display types, it duplicates the top Home and Menu buttons on every page, also overlapping any text in that area.

Firefox's Simplify page feature in the print dialog does manage to create a fully printable site for this but it changes the look quite a bit

由 jimveta 於 修改

more options

jimveta said

I found one page where the addon works to properly paginate, but also creates another issue: https://www.lucassaldanha.com/ethereum-yellow-paper-walkthrough-1/ after clicking Override unbreakable display types, it duplicates the top Home and Menu buttons on every page, also overlapping any text in that area.

The page has fixed position buttons that stay a certain height from the top of the viewport, and this is replicated to the print view. As a special exception, if the window is narrowed to 960 pixels or less, the button position flips to absolute and they scroll away, but that rule is for "screen only". Firefox therefore doesn't apply the exception to printouts but interestingly, Google Chrome does.

I know I need to add some extra features to deal with annoying fixed position items. Maybe I can work on it this weekend.

more options

Hi jimveta, I posted an updated version (1.0) with a feature to "unfix" fixed position elements that repeat on every page. After you use it, when you hover the affected elements, a panel should overlay with options to change the layout further in case the default change creates problems. I'm very new to this kind of scripting so please let me know where you find problems.

more options

Thanks for the fast update! It works well, better than how Chrome handles it since I can change page scaling directly before printing