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!

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

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

  • 9 תגובות
  • 2 have this problem
  • 23 views
  • תגובה אחרונה מאת 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.

Read this answer in context 👍 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