2

After having yesterday upgraded from Ubuntu 24.10 to 25.04, I now get the following error in file /var/log/cups/error_log, printing with USB cable on my Brother DCP L2530DW printer:

E [19/Apr/2025:08:55:51 +0200] Missing value on line 25 of /var/cache/cups/job.cache.
E [19/Apr/2025:09:00:16 +0200] [Job 1020] No suitable destination host found by cups-browsed, retrying later
E [19/Apr/2025:09:00:31 +0200] [cups-driverd] Bad line from \"driverless\": \"driverless:ipp://Brother%20DCP-L2530DW%20series%20(USB)._ipp._tcp.local/\" en \"\" \"Unknown, driverless, cups-filters 2.0.1\" \"\"

The job is correctly inserted into the printer queue, but not printed. The scanner is but perfectly working.

The admin port http://localhost:631/printers/Brother_DCP_L2530DW_series_USB correctly displays everything, but as soon as I print, I get the above error message.

I tried different ways to fix the problem, as suggested on different websites but nothing worked. My main information source is this question: “No suitable Destination Host found by cups-browsed”

As mentioned there, I deinstalled cups_browsed with the command:

sudo apt-get purge --autoremove cups-browsed

restarted the OS and reinstalled cups_browsed with the command:

sudo apt install cups-browsed

and in the end restarted the printer. I then tried to print a small text file and got the following lines in /var/log/cups/error_log:

E [21/Apr/2025:08:44:48 +0200] [Job 1024] No suitable destination host found by cups-browsed, retrying later
E [21/Apr/2025:08:44:59 +0200] [cups-driverd] Bad line from \"driverless\": \"driverless:ipp://Brother%20DCP-L2530DW%20series%20(USB)._ipp._tcp.local/\" en \"\" \"Unknown, driverless, cups-filters 2.0.1\" \"\"
E [21/Apr/2025:08:45:08 +0200] [Job 1024] cfFilterGhostscript: Ghostscript (PID 5341) crashed on signal 15
E [21/Apr/2025:08:45:08 +0200] [Job 1024] gstoraster filter failed.
W [21/Apr/2025:08:45:08 +0200] [Job 1024] Backend implicitclass returned status 7 (retry job immediately)
D [21/Apr/2025:08:45:08 +0200] [Job 1024] The following messages were recorded from 08:44:48 to 08:45:08

The job is still in the queue and nothing is printed. I emptied the queue and now the command lpstat -t gives the following output:

Zeitplandienst läuft
keine systemvoreingestellten Ziele
Gerät für Brother_DCP_L2530DW_series_USB: implicitclass://Brother_DCP_L2530DW_series_USB/
Brother_DCP_L2530DW_series_USB akzeptiert Anfragen seit Mo 21 Apr 2025 08:45:09
Drucker Brother_DCP_L2530DW_series_USB ist im Leerlauf.  Aktiviert seit Mo 21 Apr 2025 08:45:09
    gstoraster filter failed.

BTW, I'm running a swiss-german Ubuntu 25.04 system.

I'm afraid the problem comes from here:

cfFilterGhostscript: Ghostscript (PID 5341) crashed on signal 15    
Backend implicitclass returned status 7

Could you please be more specific asking for "vital" information? I could send the whole debug infos of /var/log/cups/error_log if required.

Thank you for your help.

Gilles
  • 127

1 Answers1

4

OK, it was tough, but in the end I got it... 2 problems were the reason.

The good idea was to try out to print with another computer. I did this with my laptop computer, which is running the same Ubuntu version as my main computer:

VERSION="25.04 (Plucky Puffin)"

On this laptop the printer worked without any problem.

On this laptop, the command

sudo dpkg -l | grep -i brother

gave the following answer:

ii  printer-driver-brlaser                           6.2.7-0ubuntu1                             amd64        printer driver for (some) Brother laser printers
ii  printer-driver-ptouch                            1.7-1build2                                amd64        printer driver Brother P-touch label printers

But on the main computer, the same command was delivering another answer, there was another package, called brotherlegacyusb, see image below:

brotherlegacyusb package entry on the main computer

I then checked at which time this software was added. It was an old package automatically added 2023 in a previous Ubuntu update. I removed it from the main computer:

sudo apt purge --auto-remove brotherlegacyusb

And restarted the main computer. Same problem as before. :-(

The second difference with the laptop was the state of service cups-browsed. It was disabled on the laptop, but active on the main computer. I disabled, stopped cups-browsed and checked the status. In the end I restarted the main computer again.

sudo systemctl disable cups-browsed
sudo systemctl stop cups-browsed
sudo systemctl status cups-browsed

And the scanner is still working, as before.

We need the package cups-browsed anyhow, because it installs implicitclass into the directory /usr/lib/cups/backend. This is required to let the printer work. So do not remove cups-browsed.

It was the solution to these problems. Hoping this will help if you have the same problem.

Gilles
  • 127