Brother printer driver installs but can't print

I have a fresh install of Leap 15 on an HP laptop. I downloaded and installed drivers for a Brother all-in-one printer as described here:https://en.opensuse.org/SDB:Brother_How_to_setup_a_Networked_Printer_Scanner
The drivers worked fine on this laptop with Leap 42.3 following those same instructions but they’re not working with Leap 15. The installation of the printer seems to go smoothly and I’m prompted in the terminal during the installation if I want to print a test page but the page never prints and the terminal doesn’t return any error messages.
The installation of the Brother scanner driver fails with

 "libusb-o.1-4 not found in package names. Trying capabilities"
"No provider of libusb-0.1-4 found."

The CUPS error log contains a number of errors, including:

"cups-brf must be called as root" and "CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ColorManager was not provided by any .serve files." 

The printer works fine with my desktop running debian testing. Does anyone have any suggestions about how to solve this? Thanks!

Use the CUPS web interface to send another test page. Examine the CUPS error log (/var/log/cups/error_log) for any errors. You can increase the logging verbosity prior to doing this with

sudo cupsctl --debug-logging

If you want to share that output here, you can copy it to https://susepaste.org/ and post the URL here so that others can review it further.

With respect to the scanner driver error message, what is returned by the following?

rpm -qa|grep libusb

For reference, I get

~> rpm -qa|grep libusb
libusb-1_0-devel-1.0.21-lp150.1.8.x86_64
libusb-1_0-0-1.0.21-lp150.1.8.x86_64
libusb-0_1-4-0.1.13-lp150.1.7.x86_64
libusb-1_0-0-32bit-1.0.21-lp150.1.8.x86_64
libusbmuxd4-1.0.10-lp150.3.6.x86_64

Some more questions…

  1. Model?
  2. How connected? (USB, Ethernet…)
  3. Output of the following please…
lpstat -t

Hi Deano,

Thanks for your reply. Here’s the cups error log when I print a test page:
https://susepaste.org/56166816

And here’s the result of rpm -qa|grep libusb


libusbmuxd4-1.0.10-lp150.3.6.x86_64
libusb-1_0-0-1.0.21-lp150.1.8.x86_64
libusb-0_1-4-0.1.13-lp150.1.7.x86_64

 lpstat -t
scheduler is running
no system default destination
device for MFCJ985DW: socket://192.168.0.17
MFCJ985DW accepting requests since Sun 27 May 2018 11:37:21 AM MDT
printer MFCJ985DW is idle.  enabled since Sun 27 May 2018 11:37:21 AM MDT

The printer model is a Brother MFCJ985DW connected via my home wifi network.

Strange that the CUPS scheduler is reported as running (as expected), but the error_log reports problem when trying to send a print job

E [27/May/2018:11:35:58 -0600] Scheduler shutting down due to program error.

Any issues reported via the following?

sudo systemctl status cups

Here’s the result of cups status command:

systemctl status cups
● cups.service - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2018-05-27 11:35:58 MDT; 2h 12min ago
     Docs: man:cupsd(8)
 Main PID: 2390 (cupsd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/cups.service
           └─2390 /usr/sbin/cupsd -l

May 27 11:35:58 linux-m9y3 systemd[1]: Started CUPS Scheduler.

Now the scanner is working. I selected “scanner” in Yast and successfully scanned a document. But I still can’t print.

It’s not clear to me what the problem might be with it. The error_log that you posted doesn’t appear to show the entire print job process. I don’t see any communication with the printer or any filters being executed etc. Are you sure that you uploaded the complete log?

While we’re at it, let’s check that the appropriate driver is in place (although I don’t expect any issues here if properly configured)…

egrep -i "name|model|filter" /etc/cups/ppd/*

Thanks for taking the time to look into this, Deano. Here’s a link to the error log after I tried to print a test page from the cups localhost page a few minutes ago:
https://susepaste.org/90178111

And here’s the result of checking for the driver:

egrep -i "name|model|filter" /etc/cups/ppd/*
/etc/cups/ppd/MFCJ985DW.ppd:*PCFileName: "MFC985.PPD"
/etc/cups/ppd/MFCJ985DW.ppd:*cupsFilter: "application/vnd.cups-postscript 0 brother_lpdwrapper_mfcj985dw"
/etc/cups/ppd/MFCJ985DW.ppd:*cupsFilter: "application/vnd.cups-pdf 0 brother_lpdwrapper_mfcj985dw"
/etc/cups/ppd/MFCJ985DW.ppd:*cupsModelNumber: 15
/etc/cups/ppd/MFCJ985DW.ppd:*ModelName: "Brother MFC-J985DW"
/etc/cups/ppd/MFCJ985DW.ppd:*ShortNickName: "MFC-J985DW"
/etc/cups/ppd/MFCJ985DW.ppd:*NickName: "Brother MFC-J985DW CUPS"
/etc/cups/ppd/MFCJ985DW.ppd:*%==Only for the Model with MP Tray===
/etc/cups/ppd/MFCJ985DW.ppd.O:*PCFileName: "MFC985.PPD"
/etc/cups/ppd/MFCJ985DW.ppd.O:*cupsFilter: "application/vnd.cups-postscript 0 brother_lpdwrapper_mfcj985dw"
/etc/cups/ppd/MFCJ985DW.ppd.O:*cupsFilter: "application/vnd.cups-pdf 0 brother_lpdwrapper_mfcj985dw"
/etc/cups/ppd/MFCJ985DW.ppd.O:*cupsModelNumber: 15
/etc/cups/ppd/MFCJ985DW.ppd.O:*ModelName: "Brother MFC-J985DW"
/etc/cups/ppd/MFCJ985DW.ppd.O:*ShortNickName: "MFC-J985DW"
/etc/cups/ppd/MFCJ985DW.ppd.O:*NickName: "Brother MFC-J985DW CUPS"
/etc/cups/ppd/MFCJ985DW.ppd.O:*%==Only for the Model with MP Tray===

Okay, checking the job-related output I found the following…

D [27/May/2018:16:32:41 -0600] [Job 19]  /usr/lib/cups/filter/brother_lpdwrapper_mfcj985dw: line 129:  /opt/brother/Printers/mfcj985dw/cupswrapper/brcupsconfpt1: No such file  or directory

You might need to reinstall the cupswrapper package again perhaps. I would try doing this manually (method 2 in the guide you linked to).

A further check shows /opt/brother/Printers/mfcj985dw/lpd/filtermfcj985dw is reported missing as well. This file is part of the LPR printer driver (mfcj985dwlpr-1.0.0-0.i386), so you should start over with the driver installation.

http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=mfcj985dw_us_eu_as&os=127

In an effort to assist, I downloaded the printer driver packages and installed them (LPR driver first) with my package manager. For reference here’s the details (with files listed)…

# rpm -qa|grep mfc
mfcj985dwcupswrapper-1.0.0-0.i386
mfcj985dwlpr-1.0.0-0.i386

# rpm -ql mfcj985dwlpr-1.0.0-0.i386
/opt/brother/Printers/mfcj985dw/inf/ImagingArea
/opt/brother/Printers/mfcj985dw/inf/PaperDimension
/opt/brother/Printers/mfcj985dw/inf/brmfcj985dwfunc
/opt/brother/Printers/mfcj985dw/inf/brmfcj985dwrc
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15A.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15D.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15E.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15G.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15H.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15I.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15L.BCM
/opt/brother/Printers/mfcj985dw/inf/paperinfij2
/opt/brother/Printers/mfcj985dw/inf/setupPrintcapij
/opt/brother/Printers/mfcj985dw/lpd/brmfcj985dwfilter
/opt/brother/Printers/mfcj985dw/lpd/filtermfcj985dw
/opt/brother/Printers/mfcj985dw/lpd/psconvertij2
/usr/bin/brprintconf_mfcj985dw

# rpm -ql mfcj985dwcupswrapper-1.0.0-0.i386
/opt/brother/Printers/mfcj985dw/cupswrapper/brcupsconfpt1
/opt/brother/Printers/mfcj985dw/cupswrapper/brother_mfcj985dw_printer_en.ppd
/opt/brother/Printers/mfcj985dw/cupswrapper/cupswrappermfcj985dw

Hope this helps.

Still no luck. I tried installing the drivers individually as in method 2 and also tried reinstalling by method 1. Can’t print. It seems, though, that I have the same files installed that you do:

# rpm -qa|grep mfc
mfcj985dwcupswrapper-1.0.0-0.i386
mfcj985dwlpr-1.0.0-0.i386
 #  rpm -ql mfcj985dwcupswrapper-1.0.0-0.i386
/opt/brother/Printers/mfcj985dw/cupswrapper/brcupsconfpt1
/opt/brother/Printers/mfcj985dw/cupswrapper/brother_mfcj985dw_printer_en.ppd
/opt/brother/Printers/mfcj985dw/cupswrapper/cupswrappermfcj985dw

# rpm -ql mfcj985dwlpr-1.0.0-0.i386
/opt/brother/Printers/mfcj985dw/inf/ImagingArea
/opt/brother/Printers/mfcj985dw/inf/PaperDimension
/opt/brother/Printers/mfcj985dw/inf/brmfcj985dwfunc
/opt/brother/Printers/mfcj985dw/inf/brmfcj985dwrc
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15A.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15D.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15E.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15G.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15H.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15I.BCM
/opt/brother/Printers/mfcj985dw/inf/lut/BRPRI15L.BCM
/opt/brother/Printers/mfcj985dw/inf/paperinfij2
/opt/brother/Printers/mfcj985dw/inf/setupPrintcapij
/opt/brother/Printers/mfcj985dw/lpd/brmfcj985dwfilter
/opt/brother/Printers/mfcj985dw/lpd/filtermfcj985dw
/opt/brother/Printers/mfcj985dw/lpd/psconvertij2
/usr/bin/brprintconf_mfcj985dw

The weird thing is that everything worked fine on the same laptop, same printer, with Leap 42.3. Nothing has changed except the version of opensuse.

Very strange. Can you confirm that you’re still getting the same messages (missing files) when sending a print job? (You might find it easier to delete the existing error_log first.)

Also…

ls -l /opt/brother/Printers/mfcj985dw/lpd/* /opt/brother/Printers/mfcj985dw/cupswrapper/*

Hi Deano,


ls -l /opt/brother/Printers/mfcj985dw/lpd/* /opt/brother/Printers/mfcj985dw/cupswrapper/*
-rwxr-xr-x 1 root root   13944 Oct 28  2015 /opt/brother/Printers/mfcj985dw/cupswrapper/brcupsconfpt1
-rwxr-xr-x 1 root root   30861 Oct 14  2015 /opt/brother/Printers/mfcj985dw/cupswrapper/brother_mfcj985dw_printer_en.ppd
-rwxr-xr-x 1 root root   11035 Oct 28  2015 /opt/brother/Printers/mfcj985dw/cupswrapper/cupswrappermfcj985dw
-rwxr-xr-x 1 root root 2702764 Oct 28  2015 /opt/brother/Printers/mfcj985dw/lpd/brmfcj985dwfilter
-rwxr-xr-x 1 root root    2274 Oct 28  2015 /opt/brother/Printers/mfcj985dw/lpd/filtermfcj985dw
-rwxr-xr-x 1 root root    2247 Apr 27  2015 /opt/brother/Printers/mfcj985dw/lpd/psconvertij2

And here’s the latest error log: https://susepaste.org/91614757

Thanks again for your help. You’re going above and beyond!

Ok, that checks out as expected. Your latest log says nothing about any missing files, but again you don’t seem to have captured the complete log for the print job. There should be output related to the job itself and filters being run etc. I suspect you only captured the first part of the relevant output.

And here’s the latest error log: SUSE Paste

I just managed to print! I’m not sure what the problem was but when I went to localhost:631 there were two printers listed, one named MFCJ98DW and the other named MFCJ98DW_Folger (Folger is my surname). On the cups web page the working printer is listed as: Remote printer: Brother MFC-J985DW CUPS
The non-working printer is listed as: Brother MFC-J985DW CUPS.

I have no idea why the printer suddenly started working, or why two printers appeared on the cups page.

Here’s the latest error log–I believe I copied the whole file:https://susepaste.org/40511475

Glad to read that it is now working - likely as a result of the re-installation of the driver packages. :slight_smile:

Glad to read that it is now working - likely as a result of the re-installation of the driver packages. :slight_smile:

Strange, though, because I had re-installed the drivers before. Maybe some odd combination of re-installing the drivers and re-starting cups? Well, thanks for your help!

I had the same problem with another Brother printer. Probably the solution will be the same:
The message “No such file or directory” is misleading, because 32 bit libraries, which are provided by Leap 42.3 and not Leap 15, are not found:
If you run
objdump -p /opt/brother/Printers/mfcj985dw/cupswrapper/brcupsconfpt1 | grep NEEDED
you will see probably that libc.so.6 and libm.so.6 are needed. These libraries in turn need ld-linux.so.2.
These “files” are in Leap 42.3 symbolic links to libc-2.22.so, libm-2.22.so and ld-2.22.so in the directory /lib. So I copied these three files from my old Leap 42.3 installation from the directory /lib to the Leap 15 installation /lib and set the symbolic links in the directory /lib
ln -s libc-2.22.so libc-2.22.so
ln -s libm-2.22.so libm-2.22.so
ln -s ld-2.22.so ld-linux.so.2

Finally I could execute brcupsconfpt1 and printing was possible.