10

Please help me to confirm this is a browser problem!

I've posted the same problem in Google-Chrome Help because I suspect it is a browser-problem.

I'm using a HP Officejet Pro 9120e Series printer via WIFI on my Ubuntu 25.04 desktop. The printer is added via the Gnome Settings. Printing a test page and printing from Evince PDF-viewer and Chromium works fine. However printing from Google Chrome does not work. A peculiar thing is that some time after adding the printer a second printer automatically occurs (same name but with "Series" and some id-nr appended).

I've tried using both printer entries and found on Internet that Chrome has difficulties with driverless printers. Therefore I added a driver suited for some familiair printers from hplip (9010,9020,9110,9120,9130 Series). This works fine again from Evince but not from Google Chrome.

Update Meanwhile I've been investigating my problem further. I found https://wiki.ubuntu.com/DebuggingPrintingProblems very helpful in describing the diagnosis process.

Going through the steps I've diagnosed the following:

  • Most tests are successful as is to be expected because printing works OK mostly and only fails in Google Chrome.
  • List item Cupsctl sometimes returns "cupsctl: Connection lost"(freely translated from Dutch). It occurs directly after changing the
    LogLevel in cups. I presume cups is just restarted to make the debug effective!?
  • Using the troubleshooting Wizard in system-config-printer it 'hangs' undefinitely after pressing "Next/continue" (freely translated from Dutch) in a popup window that is blank (apart from the buttons). Should it contain a choice of printers to troubleshoot?

I've included the part of the cups error-log that contains a print from Chrome using the system-dialog-printwindow (ctrl-shift-P).

Further update: Because only Google-chrome seems to be malfunctioning I've tried comparing the debug-log from Google-chrome with the debug-log from Chromium (that functions OK). A noticeable difference is that where Chromium seems to go from spooling and sending the job tot the printer, Google chrome tries to 'stat' a non-existing file. I've included snapshots from both (please let me know if you require more context):

Latest update

I've completely removed Google-chrome using this excellent description in Ask Ubuntu and reinstalled it. However no change in the situation I suspect a bug in Google-chrome. Anyway I'm out of ideas!

I hope someone can help me and otherwise others searching for help in this matter will find the various methods of diagnosis I found helpful.

Tom
  • 103

3 Answers3

7

This is a regression in Google Chrome that occurred on Feb 28th 2025 related to changing some UI components from GTK3 to GTK4. The bug and the regression are documented here: https://issues.chromium.org/issues/414635403

Fixes for the bug have been merged so I expect that a new release of Chrome will soon fix the problem. I expect that there is no real workaround other than to wait for the fixed build.

I noticed that my other laptop with Ubuntu 24.10 also has this problem but my 3rd laptop running Xubuntu 25.04 does not because Xubuntu still uses GTK3.

galatians
  • 448
0

I noticed the same problem printing to a Brother printer (MFC-J5855DW) on Google Chrome 136 & 137 (136.0.7103.92 & 137.0.7151.68) on Ubuntu 24.10 (GNOME 47) and Ubuntu 25.04 (GNOME 48). Printing to PDF still worked, however. Noticing that Chrome on my Chromebook still worked (Xubuntu 25.04 / Xfce 4.2), I installed and switched to Xfce in Ubuntu 24.10 and now I could print in Chrome 137. Alternatively, switching to the beta version of Chrome (138.0.7204.4) also allowed me to print in Chrome.

Hope this helps.

Additionally: Weirdly, while Chrome Beta prints, it only does so slowly and with the wrong settings (i.e., color when black & white is selected).

-3

Access the CUPS (Common Unix Printing Sysyem) GUI by pointing your browser to http://localhost:631.

You can detect, add, and manage printers from the Admin tab, and deal with (configure) individual printers from the Printers tab, and select the driver from a list, if the system's guess is inappropriate.

You can set the system default printer.

You can set up an "alias" by defining a new printer queue named "yourname" with the same destination as the system's defsult queue name, and any configuration changes you like.

From the command line,

lpstat -t

will show the total state of the printing system.

waltinator
  • 37,856