Mailing list OP hasn’t produced any improvement, so I’m hoping for better help here. I started with 15.2. After many hours trying unsuccessfully to print anything, I tried same PC using TW. Both result in messages such as:
Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [05/Dec/2020:02:52:02 -0500] [Job 3] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
D [05/Dec/2020:02:52:02 -0500] [Job 3] printer-state-message="Filter failed"
'Use "pdftops-renderer" option (see cups-filters README file) to use Ghostscript or MuPDF for the PDF -> PostScript conversion'
Sample.drv is 41221 bytes on 15.2 (failing) & 15.1 (OK on this PC), so surely the bad driver information file message must be bogus. Diff -u says they’re both the same file. It’s a bit smaller on TW.
A brother FAQ of October 2019 says the following:
For Redhat based distributions …:
“ln -s /etc/init.d/cups /etc/init.d/lpd”
That produces no more than a symlink pointing nowhere, an expected result on any systemd distro.
# file out
out: ASCII text
# ls -l out
-rw-rw-r-- 1 root root 322 Dec 4 01:51 out
# lpr out
lpr: Unsupported document-format "text/plain"
Yes, you can safely ignore the first informational message. The filter error message is significant though.
Assuming that the requisite printer driver packages are installed and CUPS configured to use them?
This will report information for all such configured printers…
egrep -i "name|model|filter" /etc/cups/ppd/*
Otherwise just report the pertinent information for the ‘problem’ printers.
Clear the existing CUPS error log
sudo rm -f /var/log/cups/error_log
Put CUPS into debug mode with
sudo cupsctl --debug-logging
then try to print (eg pdf or web page via browser) to one of the printers concerned.
Session transcript more or less based on responses here, including the log grep.
Same without the grep:
# ls -l /opt/brother/Printers/*/cupswrapper/*ppd
-rw-r--r-- 1 root root 12143 Jan 10 2012 /opt/brother/Printers/HL5470DW/cupswrapper/brother-HL-5470DW-cups-en.ppd
-rw-r--r-- 1 root root 12150 Jan 10 2012 /opt/brother/Printers/MFC8910DW/cupswrapper/brother-MFC-8910DW-cups-en.ppd
# ls -l /etc/cups/ppd/
total 48
-rw-r----- 1 root lp 12143 Dec 4 20:37 .HL5470DW.ppd.O
-rw-r----- 1 root lp 12150 Dec 4 02:35 .MFC8910DW.ppd.O
-rw-r----- 1 root lp 12143 Dec 4 20:43 HL5470DW.ppd
-rw-r----- 1 root lp 12150 Dec 4 20:40 MFC8910DW.ppd
# zypper se -i libusb glibc
...
i+ | glibc | Standard Shared Libraries (from the GNU C Library) | package
i+ | glibc-32bit | Standard Shared Libraries (from the GNU C Library) | package
i | glibc-locale | Locale Data for Localized Programs | package
i | glibc-locale-base | Locale Data for Localized Programs | package
i | libusb-0_1-4 | libusb-1.0 Compatibility Library for libusb-0.1 | package
i+ | libusb-0_1-4-32bit | libusb-1.0 Compatibility Library for libusb-0.1 | package
i | libusb-1_0-0 | USB Library | package
i | libusbmuxd4 | A client library to multiplex connections from and to iOS devices | package
# ls -l /usr/share/cups/model/*ppd
lrwxrwxrwx 1 root root 72 Dec 4 01:14 /usr/share/cups/model/brother-HL-5470DW-cups-en.ppd -> /opt/brother/Printers/HL5470DW/cupswrapper/brother-HL-5470DW-cups-en.ppd
lrwxrwxrwx 1 root root 74 Dec 4 01:11 /usr/share/cups/model/brother-MFC-8910DW-cups-en.ppd -> /opt/brother/Printers/MFC8910DW/cupswrapper/brother-MFC-8910DW-cups-en.ppd
# file out
out: ASCII text
# ls -l out
-rw-rw-r-- 1 root root 1244 Dec 5 01:34 out
# lpr out **# still nothing from printer**
# tail /var/log/cups/error_log
# cupsctl --debug-logging
# lpr out
# tail /var/log/cups/error_log....(136kb on disk ATM)
Still nothing coming from the 5470 from http://localhost:631/printers/<printername> testpage attempt or directing SeaMonkey to print a page from that URL either. 8910 deferred pending 5470 progress.
I [05/Dec/2020:21:02:52 -0500] [Job 35] Started filter /usr/lib/cups/filter/texttopdf (PID 3619)
I [05/Dec/2020:21:02:52 -0500] [Job 35] Started filter /usr/lib/cups/filter/pdftopdf (PID 3620)
I [05/Dec/2020:21:02:52 -0500] [Job 35] Started filter /usr/lib/cups/filter/pdftops (PID 3621)
I [05/Dec/2020:21:02:52 -0500] [Job 35] Started filter /usr/lib/cups/filter/brother_lpdwrapper_HL5470DW (PID 3622)
Then I note the following reported…
D [05/Dec/2020:21:02:52 -0500] [Job 35] Started filter pdftops (PID 3642)
D [05/Dec/2020:21:02:52 -0500] [Job 35] Started filter pstops (PID 3643)
D [05/Dec/2020:21:02:52 -0500] [Job 35] Unable to execute pdftops program: No such file or directory
D [05/Dec/2020:21:02:52 -0500] [Client 1] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [05/Dec/2020:21:02:52 -0500] [Client 1] Closing connection.
D [05/Dec/2020:21:02:52 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [05/Dec/2020:21:02:52 -0500] [Job 35] PID 3642 (pdftops) stopped with status 1!
--
D [05/Dec/2020:21:02:52 -0500] [Job 35] PID 3621 (/usr/lib/cups/filter/pdftops) stopped with status 1.
Regarding the ‘Unable to execute pdftops program: No such file or directory’ message, check that the ‘poppler-tools’ package is installed.
Had installed pattern 32bit some years ago. Did some tinkering when update of cups broke printing a few weeks ago. Got tired of it. Quite different experience when running linux-brprinter-installer-2.2.2-1 once for each of the printers: Answered a few questions and everything worked fine. Packages installed:
That was just the final piece. Other puzzle pieces weren’t installed either. IIRC, this might have been the full list:
cups-filters
glibc-32bit
libstdc++6-32bit
libusb-0_1-4-32bit
poppler-tools
This took much to long to remember all the steps, or make sense of them from the pieces here, on support mailing list, and saved logs. When I try on other PCs I’ll need to make a note, then consider a bug report.
BTW, not only printing and scanning working on original test PC’s 15.2, but also on this 15.1 PC for previously non-working scanning (via YaST2 to find the previously not found 8910 scanner).
On TW, adding the poppler-tools package wasn’t enough. Cups-filters wasn’t installed, and neither any 32-bit packages. Adding glibc-32bit wouldn’t even get a job started for ‘lpr out’. Also adding libstdc++6-32bit didn’t help either, or libusb-0_1-4-32bit. Test page from http://localhost:631/printers/<printername> produces no job. TW error log is 360k.
What printer languages are supported are of no import to me, except for Epson FX, which is why I bought the 5470, so I could at least theoretically use it with my DOS apps that embed printer setup strings in documents.
Lost track of what I’ve done and need to do. Need sleep…
linux-brprinter-installer-2.2.2-1 seemed to work just fine here in TW, but produced no additional/dependency software installed that I can recall (nor printing success).
I’m not sure why you didn’t have the expected CUPS environment installed. The cups-filters package is an intrinsic part of that for any printer support.