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.

    • 80386SX@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      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.

    • watson387@sopuli.xyzOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      2
      ·
      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.

      • DogMuffins@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        13
        ·
        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.

  • heeplr@feddit.de
    link
    fedilink
    arrow-up
    8
    arrow-down
    3
    ·
    edit-2
    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.

      • heeplr@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

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

    • watson387@sopuli.xyzOP
      link
      fedilink
      arrow-up
      7
      ·
      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.

  • U de Recife@lemmy.sdfeu.org
    link
    fedilink
    arrow-up
    5
    ·
    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).

      • U de Recife@lemmy.sdfeu.org
        link
        fedilink
        arrow-up
        10
        arrow-down
        3
        ·
        edit-2
        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.

        • nitefox@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          3
          ·
          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.

  • makeasnek@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

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

  • melroy@kbin.melroy.org
    link
    fedilink
    arrow-up
    4
    ·
    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.

    • rambos@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      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

  • bcbrz@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

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