chromium-legacy: [BUG] Printing not possible

I want to print a page via Command+P or a PDF file loaded in Chromium Legacy and sometimes the preview is not loaded at all and the “Print” button remains grayed out or at the latest when trying to print I see a preview but after pressing the Print button always an error message comes up that printing is not possible. Also with other printers that are set up on the system it does not work.

  1. Go to ‘File>Print’
  2. Click on ‘Printer’
  3. Scroll down to ‘Print’ and press
  4. Error

Expected behavior A functioning printer output

Screenshots Bildschirmfoto 2023-10-31 um 20 10 36 Bildschirmfoto 2023-10-31 um 20 10 54 Bildschirmfoto 2023-10-31 um 20 11 02

Desktop (please complete the following information):

  • OS: macOS 10.9.5
  • CL version 120.0.6077.0

Have tried

defaults write com.google.Chrome DisablePrintPreview -bool true

and

defaults write com.google.Chromium DisablePrintPreview -bool true

did not make any difference.

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 19

Commits related to this issue

Most upvoted comments

Thank you very much for your research. What about PDF files? Were you able to find out anything about this? Is this also due to system fonts 🥸

I got the impression that Chromium uses the Mac’s system functions to print to PDF, judging from the fact that it crashes with (almost) the same crash log.

Okay, I wasn’t looking at crash logs closely enough. So I guess the crash is consistent, and what changes is whether it happens before or after a successful render…

Yes, the bug is related to native fonts! Launching Chromium with --disable-remote-fonts breaks printing everywhere!

What’s interesting is that printing does work on many sites, including: amazon.com, nytimes.com, apple.com, bbc.com.

It doesn’t work on example.com, stackexchange.com, or this github page.

Theory: I think printing may only work on pages which do (!) use webfonts. It fails on pages in which the text uses system fonts.

To be clear I have this bug too, the behavior is different from #17 I just wonder if they’re related, especially since everyone with the issue appears to be on 10.9. It won’t make a difference whether you use the Chromium or system dialog, both are broken. I think actual printing to a physical printer is broken as well but I can’t check now.