42
submitted 1 year ago by watson387@sopuli.xyz to c/firefox@lemmy.ml

This has been an issue for a long time. I’ve been trying to avoid Chromium based browsers, but Firefox seems to be unable to print a lot of web pages without cutting off the content between pages. This is Firefox specific, as it doesn’t happen with Chromium browsers. It’s really a pain in the ass when I need to print something I have to open another browser and print it from there. I see tons of complaints about this online going back for years. I just spent the past two hours trying (unsuccessfully) to print a recipe correctly. I eventually gave up, opened Edge and printed from there. The current state of web browsers is dogshit. It’s either give up all of your privacy or use broken stuff. Neither is good.

all 26 comments
sorted by: hot top controversial new old
[-] igorlogius@lemmy.world 49 points 1 year ago* (last edited 1 year ago)

Firefox seems to be unable to print a lot of web pages

Example page?

Also i'd suggest you post "steps to reproduce" together with your "expected result" and "actual result".
That way others can compare and verify and we already have everything necessary to potentially open a bugzilla ticket.

[-] heeplr@feddit.de 14 points 1 year ago

this user bugreports!

[-] BC3XAu3IjGbZYNQl@lemmy.ml 6 points 1 year ago* (last edited 1 year ago)

Printing this page as PDF, set page size to A4 , scaling 100% ( default ) https://www.economist.com/leaders/2023/09/07/chinas-belt-and-road-initiative-will-keep-testing-the-west

First bar graph is split across page 2 & 3.

Pick any article from the economist, which has graphs or charts and it will happen , same with ft.com, Bloomberg.


The website is responsible for providing a print layout, but the browser should be smarter and assume that the website was made by obstinate toddlers.

Prints fine on Chromium & Edge. The inferior browsers move the "image" so it does not span pages.

Before anyone gets upset , my default browser on all devices is Firefox.

[-] igorlogius@lemmy.world 6 points 1 year ago* (last edited 1 year ago)

As a workaround, i found that the addon Print Edit WE includes a "Fix Page Breaks - All" function. Just click the toolbar icon and then on the Tools button

Tools Button

Result:

Hope this helps a little.

PS:

the browser should be smarter and assume that the website was made by obstinate toddlers.

I'd guess that when you try to make your product "to smart" it can have the unwanted concequence of gaining greater complexity and with it a higher effort for maintainablility, which might not be something you want.

[-] BC3XAu3IjGbZYNQl@lemmy.ml 3 points 1 year ago

Thanks. Added that addon. This will help a lot.

[-] watson387@sopuli.xyz 3 points 1 year ago

Well, I didn’t post “steps to reproduce” because I’m not doing anything special. Open the menu, click print, click print in the print modal window. I expect that I get a printed page, which I do, but Firefox doesn’t crop to the margins. The bottom margin is whited out, but it’s like parts of the page are hidden behind it so between every page there is missing text. It’s not my printer because the same happens when I try to print to pdf, and I also use Firefox at work on a different machine with different printers and get the same result. I’m not at my computer at the moment to post an example page.

[-] igorlogius@lemmy.world 14 points 1 year ago* (last edited 1 year ago)

As others already have mentioned, the issue might only be partially firefox's fault. Meaning that webpage that wants to be printable should normally have to provide a print layout and if it doesnt then it is up to the browser to make a best guess at how to render it correctly for printing. Sadly the modern web has a huge amount of web content (sticky headers, floating elements, shadow/hidden elements, and so on) that can make it really hard to interpret pages suitable for printing.

That said, that doesnt mean that there is no room for improvement to firefox's "best guess".

[-] DogMuffins@discuss.tchncs.de 13 points 1 year ago

I'm genuinely sorry but I can't reproduce the effects you're describing. I generate pdfs from Firefox all the time and have never encountered an issue like this.

That's why describing how to reproduce is important.

Could there be an addon you have which is causing this problem? That would explain why it happens for you on different machines.

[-] melroy@kbin.melroy.org 8 points 1 year ago

Also try to play with "More settings" options within the print pop-up window. Allowing you to scale the page or use a simplified version or try to rotate the page to landscape, etc.

[-] UdeRecife@lemmy.sdfeu.org 5 points 1 year ago

I too have this issue, and I use a similar solution.

Case in point, for those asking for examples: exporting Reveal.js slides to PDF. Never works on Firefox (my browser of choice). Solution? Any chrome based browser.

OS: Linux, Arch (updated).

[-] waldyrious@lemm.ee 7 points 1 year ago

OS: Linux, Arch (btw).

FTFY

[-] UdeRecife@lemmy.sdfeu.org 7 points 1 year ago* (last edited 1 year ago)

Sorry, please don't take this as an attack. It's just that I'm so tired of that lame joke.

I tried to present this as an observation. When filing a bug report (which I tried to emulate here), you have to take into account the distro, as it may influence the behavior of the software in question. Namely here Firefox.

Now, does that make you laugh? Good, laugh about it. But please think about it in this context. You are laughing about a personal choice. Prejudice is taking hold of your mind. You're turning someone's choice into a strawman, easy to be laughed at just because.

It's a bit like attacking vegans. Now it's not about this or that person and their choice. They're evened out, ridiculed, just because it's memetic to do so. The same with Arch users, so it seems.

I don't use Arch btw. There's no btw because I don't care about that. This just reminds me of how certain groups always have to hear the same old tired jokes about them, just because, individually, everyone telling those jokes feels it's so clever to do so.

Sorry. I think we can do better than this here at Lemmy. Again, this is not an attack. Perhaps just a reminder.

[-] Rustmilian@lemmy.world 1 points 10 months ago

Install Gentoo btw.

[-] nitefox@lemmy.world -1 points 1 year ago

Sorry, please don't take this as an attack. It's just that I'm so tired of that lame joke.

I tried to present this as an observation. When filing a bug report (which I tried to emulate here), you have to take into account the distro, as it may influence the behavior of the software in question. Namely here Firefox.

Now, does that make you laugh? Good, laugh about it. But please think about it in this context. You are laughing about a personal choice. Prejudice is taking hold of your mind. You're turning someone's choice into a strawman, easy to be laughed at just because.

It's a bit like attacking vegans. Now it's not about this or that person and their choice. They're evened out, ridiculed, just because it's memetic to do so. The same with Arch users, so it seems.

I don't use Arch btw. There's no btw because I don't care about that. This just reminds me of how certain groups always have to hear the same old tired jokes about them, just because, individually, everyone telling those jokes feels it's so clever to do so.

Sorry. I think we can do better than this here at Lemmy. Again, this is not an attack. Perhaps just a reminder.

[-] heeplr@feddit.de 5 points 1 year ago* (last edited 1 year ago)

it's the site's fault. it's their responsibility to provide a print layout.

If they don't, the browser has to do best guesses and FF probably doesn't try to be very smart.

And it's not worth the effort either. Printing on paper is becoming rare.

[-] DogMuffins@discuss.tchncs.de 12 points 1 year ago

print to pdf is not becoming rare though, and requires more or less the same formatting.

[-] heeplr@feddit.de 1 points 1 year ago* (last edited 1 year ago)

true. still, even popular sites don't provide decent CSS for printing but rather PDF download.

[-] watson387@sopuli.xyz 7 points 1 year ago

While I completely understand what you're saying, this is only an issue in Firefox and it also affects printing to PDF.

[-] makeasnek@lemmy.ml 4 points 1 year ago

Use the screenshot tool Firefox comes with to screenshot the entire page, then print the screenshot. That's what I do.

[-] bcbrz@lemmy.ml 3 points 1 year ago

Firefox printing is painful. Didn't respect grayscale setting for PDFs, fixed for a few months, back to doing it again.

[-] theatremaker@lemmy.world 2 points 1 year ago

copy paste plain text to text editor or word doc?

[-] rambos@lemm.ee 3 points 1 year ago

Or just print screen right? Joking, but you could just save txt document then. Doesnt help if you care about formating and if you have content that is not just a text.

I had the same problem as OP together with ignoring grayscale settings, but its been a while since last time I tried that

[-] Rustmilian@lemmy.world 1 points 10 months ago

It just rip the page and convert it to other formats and print it using external tools.

this post was submitted on 09 Sep 2023
42 points (83.9% liked)

Firefox

18079 readers
580 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS