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_...rinter_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
Code:
"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:
Code:
"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!
Re: Brother printer driver installs but can't print
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
Code:
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?
Code:
rpm -qa|grep libusb
For reference, I get
Code:
~> 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
Re: Brother printer driver installs but can't print
Some more questions...
1) Model?
2) How connected? (USB, Ethernet...)
3) Output of the following please...
Re: Brother printer driver installs but can't print
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
Code:
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
Code:
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.
Re: Brother printer driver installs but can't print
Strange that the CUPS scheduler is reported as running (as expected), but the error_log reports problem when trying to send a print job
Code:
E [27/May/2018:11:35:58 -0600] Scheduler shutting down due to program error.
Any issues reported via the following?
Code:
sudo systemctl status cups
Re: Brother printer driver installs but can't print
Here's the result of cups status command:
Code:
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.
Re: Brother printer driver installs but can't print
Now the scanner is working. I selected "scanner" in Yast and successfully scanned a document. But I still can't print.
Re: Brother printer driver installs but 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)...
Code:
egrep -i "name|model|filter" /etc/cups/ppd/*
Re: Brother printer driver installs but can't print
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:
Code:
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===
Re: Brother printer driver installs but can't print
Okay, checking the job-related output I found the following...
Code:
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).