You are not logged in.
Pages: 1
Topic closed
Hello,
I am stuck installing my new printer Brother MFC-T810W.
I have installed cups of course, libcups, gsfonts. I have also activated the cups service # systemctl start cups.service and # systemctl enable cups.service.
I use the plasma desktop and in the printer chapter I clicked on the option "click here to add a new printer" and I see the name of my printer appearing. BROTHER MFC-810W but on the following view brother does not appear in the list.
I go to https://wiki.archlinux.org/title/Packag … er_drivers and I see that it will take 3 packages, one is the Driver Install Tool and the others are for the LPR driver and for the cupswrapper.
I searched in the net from the brother site download section: I select my printer, the os family (linux), the language (English) and there are only 2 files to download: Driver Install Tool and Linux Printer Driver (deb package). There is no cupswrapper. What should I do?
Any help would be welcome and would be really appreciated.
Thanks in advance
Last edited by Breizh29 (2021-12-01 00:17:03)
Offline
Offline
Hi,
Because it is difficult for me to see impossible to have a driver that works for my printer under Arch, it would seem (I mean it would seem...) that there is another possibility. It would be called "driverless IPP".
This is how I do it:
Enable local DNS resolution: sudo nano /etc/nsswitch.conf and change the hosts line to include mdns_minimal [NOTFOUND = return] before resolve (==>https://wiki.archlinux.org/title/avahi)
❯ sudo nano /etc/nsswitch.conf
[sudo] Mot de passe de armand :
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.
passwd: files systemd
group: files [SUCCESS=merge] systemd
shadow: files
publickey: files
hosts: files mymachines myhostname mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
╭─ ~ 1m 7s ─╮
╰─❯
Restart services:
❯ sudo systemctl restart avahi-daemon NetworkManager cups.service
╭─ ~
╰─❯
Add the printer with system-config-printer:
❯ system-config-printer
/usr/share/system-config-printer/system-config-printer.py:315: DeprecationWarning: Gtk.ActionGroup.list_actions is deprecated
for action in printer_manager_action_group.list_actions ():
/usr/share/system-config-printer/system-config-printer.py:316: DeprecationWarning: Gtk.Action.set_sensitive is deprecated
action.set_sensitive (False)
/usr/share/system-config-printer/system-config-printer.py:324: DeprecationWarning: Gtk.ActionGroup.get_action is deprecated
act = printer_manager_action_group.get_action (action)
/usr/share/system-config-printer/system-config-printer.py:354: DeprecationWarning: Gtk.UIManager.ensure_update is deprecated
self.ui_manager.ensure_update ()
/usr/share/system-config-printer/system-config-printer.py:355: DeprecationWarning: Gtk.UIManager.get_accel_group is deprecated
self.PrintersWindow.add_accel_group (self.ui_manager.get_accel_group ())
/usr/share/system-config-printer/system-config-printer.py:364: DeprecationWarning: Gtk.UIManager.get_action is deprecated
action = self.ui_manager.get_action ("/new-printer")
/usr/share/system-config-printer/system-config-printer.py:365: DeprecationWarning: Gtk.Action.create_menu_item is deprecated
newprinteritem = action.create_menu_item ()
(system-config-printer:6451): Gtk-WARNING **: 13:48:31.736: Theme directory 16x16/panel of theme Mkos-Big-Sur-Panel-white has no size field
(system-config-printer:6451): Gtk-WARNING **: 13:48:31.738: Theme directory 16x16@2x/places of theme Mkos-Big-Sur-Panel-white has no size field
(system-config-printer:6451): Gtk-WARNING **: 13:48:31.739: Theme directory 24x24/apps of theme Mkos-Big-Sur-Panel-white has no size field
(system-config-printer:6451): Gtk-WARNING **: 13:48:31.740: Theme directory 24x24@2x/panel of theme Mkos-Big-Sur-Panel-white has no size field
(system-config-printer:6451): Gtk-WARNING **: 13:48:31.741: Theme directory 24x24@2x/panel of theme Mkos-Big-Sur-Panel-white has no size field
/usr/share/system-config-printer/system-config-printer.py:663: DeprecationWarning: Gtk.Action.get_proxies is deprecated
for widget in action.get_proxies ():
/usr/share/system-config-printer/system-config-printer.py:2236: DeprecationWarning: Gdk.threads_enter is deprecated
Gdk.threads_enter ()
╭─ ~
╰─❯
On adding printer it found my printer and showed two entries under Networkprinters.
And one is showing IPP address format.
Brother MFC-T810W (Brother%20MFC-T810W_ipp_tcp.local)
Device URI on the right shows also IPP.
ipp://Brother%20MFC-T810W_ipp_tcp.local/
and Connection show:
Driverless IPP
That is what I chose.
On the next dialog box I indicate the printer name, description and location and I press “apply”.
But unfortunally the response was: CUPS server error.
I searched in the logs and found the following:
❯ nano /var/log/cups/access_log
localhost - - [12/Nov/2021:10:24:33 +0000] "POST / HTTP/1.1" 200 275 Create-Printer-Subscriptions successful-ok
localhost - - [12/Nov/2021:10:24:50 +0000] "GET /admin/conf/cupsd.conf HTTP/1.1" 401 0 - -
localhost - armand [12/Nov/2021:10:24:50 +0000] "GET /admin/conf/cupsd.conf HTTP/1.1" 200 4753 - -
localhost - armand [12/Nov/2021:10:24:50 +0000] "GET /admin/conf/cupsd.conf HTTP/1.1" 200 4753 - -
localhost - - [12/Nov/2021:10:24:57 +0000] "POST / HTTP/1.1" 401 147 CUPS-Get-Devices successful-ok
localhost - armand [12/Nov/2021:10:24:57 +0000] "POST / HTTP/1.1" 200 1943 CUPS-Get-Devices -
localhost - armand [12/Nov/2021:10:24:57 +0000] "POST / HTTP/1.1" 200 1028 CUPS-Get-Devices -
localhost - - [12/Nov/2021:10:25:15 +0000] "POST / HTTP/1.1" 200 993266 CUPS-Get-PPDs -
localhost - - [12/Nov/2021:10:25:17 +0000] "POST / HTTP/1.1" 200 216 CUPS-Get-PPD -
localhost - - [12/Nov/2021:10:25:42 +0000] "POST /admin/ HTTP/1.1" 401 329 CUPS-Add-Modify-Printer successful-ok
localhost - armand [12/Nov/2021:10:25:42 +0000] "POST /admin/ HTTP/1.1" 200 329 CUPS-Add-Modify-Printer server-error-internal-error
❯ nano /var/log/cups/error_log (Extract)
...............................
E [12/Nov/2021:10:25:19 +0000] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipp://Brother%20MFC-T810W._ipp._tcp.local/, ipp://BRW30C9AB750E55.local:631/ipp/print) via IPP!
............................................
D [12/Nov/2021:10:25:42 +0000] [Client 16] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [12/Nov/2021:10:25:42 +0000] [Client 16] Closing connection.
D [12/Nov/2021:10:25:42 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/Nov/2021:10:25:42 +0000] [Client 17] POST /admin/ HTTP/1.1
D [12/Nov/2021:10:25:42 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/Nov/2021:10:25:42 +0000] [Client 17] Read: status=200, state=6
D [12/Nov/2021:10:25:42 +0000] [Client 17] Authorized as armand using PeerCred.
D [12/Nov/2021:10:25:42 +0000] [Client 17] 2.0 CUPS-Add-Modify-Printer 15
D [12/Nov/2021:10:25:42 +0000] CUPS-Add-Modify-Printer ipp://localhost/printers/printer
D [12/Nov/2021:10:25:42 +0000] cupsdIsAuthorized: username="armand"
D [12/Nov/2021:10:25:42 +0000] printer device-uri: OK
I [12/Nov/2021:10:25:42 +0000] Setting printer device-uri to "ipp://Brother%20MFC-T810W._ipp._tcp.local/" (was "file:///dev/null".)
D [12/Nov/2021:10:25:42 +0000] cupsdMarkDirty(----S)
D [12/Nov/2021:10:25:42 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
D [12/Nov/2021:10:25:42 +0000] copy_model: Running "cups-driverd cat driverless:ipp://Brother%20MFC-T810W._ipp._tcp.local/"...
E [12/Nov/2021:10:25:44 +0000] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipp://Brother%20MFC-T810W._ipp._tcp.local/, ipp://BRW30C9AB750E55.local:631/ipp/print) via IPP!
E [12/Nov/2021:10:25:44 +0000] copy_model: empty PPD file
D [12/Nov/2021:10:25:44 +0000] CUPS-Add-Modify-Printer server-error-internal-error: Unable to copy PPD file.
D [12/Nov/2021:10:25:44 +0000] cupsdMarkDirty(P----)
D [12/Nov/2021:10:25:44 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [12/Nov/2021:10:25:44 +0000] cupsdDeregisterPrinter(p=0x556250b39d00(printer), removeit=1)
E [12/Nov/2021:10:25:44 +0000] [Client 17] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/printer) from localhost.
D [12/Nov/2021:10:25:44 +0000] [Client 17] Content-Length: 118
D [12/Nov/2021:10:25:44 +0000] [Client 17] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
I [12/Nov/2021:10:25:44 +0000] Expiring subscriptions...
D [12/Nov/2021:10:25:44 +0000] PID 25514 (/usr/lib/cups/daemon/cups-driverd) stopped with status 1.
D [12/Nov/2021:10:25:44 +0000] [Client 17] con->http=0x556250b36660
D [12/Nov/2021:10:25:44 +0000] [Client 17] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=118, response=0x556250b35a60(IPP_STATE_DATA), pipe_pid=0, file=-1
.............................
If anyone has a brilliant idea to unlock the situation, that would be GREAT!
Offline
Because it is difficult for me to see impossible to have a driver that works for my printer under Arch
Why? Does the brother driver I linked in #2 not work or because "it's too hard to change a URL and shasum in a PKGBUILD"?
E [12/Nov/2021:10:25:44 +0000] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipp://Brother%20MFC-T810W._ipp._tcp.local/, ipp://BRW30C9AB750E55.local:631/ipp/print) via IPP!
E [12/Nov/2021:10:25:44 +0000] copy_model: empty PPD file
D [12/Nov/2021:10:25:44 +0000] CUPS-Add-Modify-Printer server-error-internal-error: Unable to copy PPD file.
The printer doesn't seem to export a PPD (or didn't respond)
Offline
Because it is difficult for me to see impossible to have a driver that works for my printer under Arch
Why? Does the brother driver I linked in #2 not work or because "it's too hard to change a URL and shasum in a PKGBUILD"?
Change the url in PGKBUILD I think I can do.
Change shasum in PGKBUILD I think I can do.
My printer is MFC-T810W and not MFC-T910W. In the PGKBUILD everything refers to 910.
Moreover the maintainer of the package seems to say in comments that there is a problem which seems to be confirmed by 2 other people.
Out of curiosity I installed fedora on a old laptop and I installed the mfc-t810w (rpm) driver by defining an IP address.
I tried to print a simple document and Bingo it works the first time!
Offline
Please try the PKGBUILD below and report any issues
# Contributor: killajoe <archlinux@kamprad.net>
pkgname=brother-mfct810wp
pkgver=1.0.0
pkgrel=1
pkgdesc="Brother MFC-T810W CUPS driver"
arch=('i686' 'x86_64')
url="http://www.brother.com"
license=('custom')
depends=('cups' 'ghostscript')
depends_x86_64=('lib32-glibc')
source=("https://download.brother.com/welcome/dlf103625/mfct810wpdrv-1.0.0-0.i386.rpm")
sha512sums=('cecb1e3dc6d1bd648992839c0b6efccf26efb0916f2c42fba0ff43b34feef8580b094bcbbe5d456f85496432f0a250102d38658008e0dfd774e22f542bf5f151')
package(){
cp -R "$srcdir/opt" "$pkgdir/opt"
install -d "$pkgdir/usr/lib/cups/filter/"
ln -s "/opt/brother/Printers/mfct810w/cupswrapper/brother_lpdwrapper_mfct810w" "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_mfct810w"
install -d "$pkgdir/usr/share/cups/model/"
ln -s "/opt/brother/Printers/mfct810w/cupswrapper/brother_mfct810w_printer_en.ppd" "$pkgdir/usr/share/cups/model"
install -Dm644 "$srcdir/opt/brother/Printers/mfct810w/LICENSE_ENG.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_ENG.txt"
install -Dm644 "$srcdir/opt/brother/Printers/mfct810w/LICENSE_JPN.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_JPN.txt"
}
Offline
My printer is MFC-T810W and not MFC-T910W. In the PGKBUILD everything refers to 910.
…
loqs did that for you, though, because
Change the url in PGKBUILD I think I can do.
Change shasum in PGKBUILD I think I can do.
Yeah, I think not.
Offline
❯ nano PKGBUILD
# Contributor: killajoe <archlinux@kamprad.net>
# Maintainer: killajoe <archlinux@kamprad.net>
pkgname=brother-mfct810w
pkgver=1.0.0
pkgrel=0
pkgdesc="Brother MFC-T810W CUPS driver"
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
url="http://www.brother.com"
license=('custom')
depends=('cups' 'ghostscript')
depends_x86_64=('lib32-glibc')
source=("https://download.brother.com/welcome/dlf103625/mfct810wpdrv-1.0.0-0.i386.rpm")
sha512sums=('cecb1e3dc6d1bd648992839c0b6efccf26efb0916f2c42fba0ff43b34feef8580b094bcbbe5d456f85496432f0a250102d38658008e0dfd774e22f542bf5f151')
package(){
cp -R "$srcdir/opt" "$pkgdir/opt"
install -d "$pkgdir/usr/lib/cups/filter/"
ln -s "/opt/brother/Printers/mfct810w/cupswrapper/brother_lpdwrapper_mfct810w" "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_mfct810w"
install -d "$pkgdir/usr/share/cups/model/"
ln -s "/opt/brother/Printers/mfct810w/cupswrapper/brother_mfct810w_printer_en.ppd" "$pkgdir/usr/share/cups/model"
install -Dm644 "$srcdir/opt/brother/Printers/mfct810w/LICENSE_ENG.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_ENG.txt"
install -Dm644 "$srcdir/opt/brother/Printers/mfct810w/LICENSE_JPN.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_JPN.txt"
}
"Please try the PKGBUILD below and report any issues":Please what does that mean? , what follows?
makepkg -si PGKBUILD
Offline
Thanks logs,
I modified the PKGBUILD and run the makepkg
makepkg -si PKGBUILD
==> WARNING: A package has already been compiled, installation of the existing package ...
==> Installation of the brother-mfct810w package with pacman -U…
loading packages ...
dependency resolution ...
search for conflicts between packages ...
Package (1) New version Net change
brother-mfct810w 1.0.0-0 12.57 MiB
Total installed size: 12.57 MiB
:: Proceed with the installation? [Y / n] o
(1/1) checking the keys in the keychain [-------------------------------------- -------------------------------------------------] 100%
(1/1) packet integrity check [------------------------------------- -------------------------------------------------- ] 100%
(1/1) loading package files [--------------------------------------- ------------------------------------------------] 100 %
(1/1) conflict analysis between files [--------------------------------------- ------------------------------------------------] 100 %
error: transaction validation failed (file conflict)
brother-mfct810w: /opt/brother/Printers/mfct810w/LICENSE_ENG.txt is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/LICENSE_JPN.txt is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / cupswrapper / brother_lpdwrapper_mfct810w is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/cupswrapper/brother_mfct810w_printer_en.ppd is already present in the filesystem
brother-mfct810w: / opt / brother / Printers / mfct810w / cupswrapper / cupswrappermfct810w is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / ImagingArea is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / PaperDimension is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / brmfct810wfunc is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / brmfct810wrc is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17E.BCM is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EA.BCM is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17ED.BCM is already present in the filesystem
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EE.BCM is already present in the filesystem
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EG.BCM is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EH.BCM is already present in the filesystem
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EI.BCM is already present in the filesystem
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EL.BCM is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EN.BCM is already present in the filesystem
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EQ.BCM is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / paperinfij2 is already present in the filesystem
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / setupPrintcapij is already present in the filesystem
brother-mfct810w: / opt / brother / Printers / mfct810w / lpd / brmfct810wfilter is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / lpd / filter_mfct810w is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct910dw/LICENSE_ENG.txt is already present in the file system (owned by brother-mfct910dw)
brother-mfct810w: /opt/brother/Printers/mfct910dw/LICENSE_JPN.txt is already present in the file system (owned by brother-mfct910dw)
brother-mfct810w: / opt / brother / Printers / mfct910dw / cupswrapper / brother_lpdwrapper_mfct910dw is already present in the file system (owned by brother-mfct910dw)
brother-mfct810w: /opt/brother/Printers/mfct910dw/cupswrapper/brother_mfct910dw_printer_en.ppd is already present in the file system (owned by brother-mfct910dw)
brother-mfct810w: / opt / brother / Printers / mfct910dw / cupswrapper / cupswrappermfct910dw is already present in the file system (owned by brother-mfct910dw)
brother-mfct810w: / opt / brother / Printers / mfct
╭─ ~/brother-mfct910dw master !1 ?6
Last edited by Breizh29 (2021-11-13 23:28:40)
Offline
brother-mfct810w: /opt/brother/Printers/mfct810w/LICENSE_ENG.txt is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/LICENSE_JPN.txt is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / cupswrapper / brother_lpdwrapper_mfct810w is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/cupswrapper/brother_mfct810w_printer_en.ppd is already present in the filesystem
brother-mfct810w: / opt / brother / Printers / mfct810w / cupswrapper / cupswrappermfct810w is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / ImagingArea is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / PaperDimension is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / brmfct810wfunc is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / brmfct810wrc is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17E.BCM is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EA.BCM is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17ED.BCM is already present in the filesystem
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EE.BCM is already present in the filesystem
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EG.BCM is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EH.BCM is already present in the filesystem
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EI.BCM is already present in the filesystem
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EL.BCM is already present in the file system
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EN.BCM is already present in the filesystem
brother-mfct810w: /opt/brother/Printers/mfct810w/inf/lut/BRPRI17EQ.BCM is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / paperinfij2 is already present in the filesystem
brother-mfct810w: / opt / brother / Printers / mfct810w / inf / setupPrintcapij is already present in the filesystem
brother-mfct810w: / opt / brother / Printers / mfct810w / lpd / brmfct810wfilter is already present in the file system
brother-mfct810w: / opt / brother / Printers / mfct810w / lpd / filter_mfct810w is already present in the file system
You extracted the contents of rpm without using pacman?
brother-mfct810w: / opt / brother / Printers / mfct910dw / cupswrapper / brother_lpdwrapper_mfct910dw is already present in the file system (owned by brother-mfct910dw)
brother-mfct810w: /opt/brother/Printers/mfct910dw/cupswrapper/brother_mfct910dw_printer_en.ppd is already present in the file system (owned by brother-mfct910dw)
brother-mfct810w: / opt / brother / Printers / mfct910dw / cupswrapper / cupswrappermfct910dw is already present in the file system (owned by brother-mfct910dw)
Your PKGBUILD for brother-mfct810w is installing files to / opt / brother / Printers / mfct910dw / which conflict with the package brother-mfct910dw.
Is / opt / brother / Printers / mfct910dw / a transcription error or are both packages actually creating paths with spaces in them?
Why is brother-mfct910dw installed?
Pacman#%22Failed_to_commit_transaction_(conflicting_files)%22_error
Not sure how the PKGBUILD you posted could have produced a package with all those files from mfct910dw.
Offline
Thanks for answer logs,
I did a bit of cleaning up and restarted the process.
and here is the result: (sorry it's in french but I think it's not too difficult to understand in this case)
❯ git clone https://aur.archlinux.org/brother-mfct910dw.git
Clonage dans 'brother-mfct910dw'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 4 (delta 0), pack-reused 0
Dépaquetage des objets: 100% (4/4), 1.11 Kio | 1.11 Mio/s, fait.
❯ ls
brother-mfct910dw Bureau Documents Images Modèles Musique Public Téléchargements Vidéos yay
❯ cd brother-mfct910dw
❯ ls
PKGBUILD
❯ sudo nano PKGBUILD
[sudo] Mot de passe de armand :
GNU nano 5.9 PKGBUILD
# Contributor: killajoe <archlinux@kamprad.net>
# Maintainer: killajoe <archlinux@kamprad.net>
pkgname=brother-mfct810w
pkgver=1.0.0
pkgrel=0
pkgdesc="Brother MFC-T810W CUPS driver"
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
url="http://www.brother.com"
license=('custom')
depends=('cups' 'ghostscript')
depends_x86_64=('lib32-glibc')
source=("https://download.brother.com/welcome/dlf103625/mfct810wpdrv-1.0.0-0.i386.rpm")
sha512sums=('cecb1e3dc6d1bd648992839c0b6efccf26efb0916f2c42fba0ff43b34feef8580b094bcbbe5d456f85496432f0a250102d38658008e0dfd774e22f542bf5f151')
package(){
cp -R "$srcdir/opt" "$pkgdir/opt"
install -d "$pkgdir/usr/lib/cups/filter/"
ln -s "/opt/brother/Printers/mfct810w/cupswrapper/brother_lpdwrapper_mfct810w" "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_mfct810w"
install -d "$pkgdir/usr/share/cups/model/"
ln -s "/opt/brother/Printers/mfct810w/cupswrapper/brother_mfct810w_printer_en.ppd" "$pkgdir/usr/share/cups/model"
install -Dm644 "$srcdir/opt/brother/Printers/mfct810w/LICENSE_ENG.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_ENG.txt"
install -Dm644 "$srcdir/opt/brother/Printers/mfct810w/LICENSE_JPN.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_JPN.txt"
}
❯ makepkg -si PKGBUILD
==> Création du paquet brother-mfct810w 1.0.0-0 (dim. 14 nov. 2021 08:37:12)
==> Vérification des dépendances pour l’exécution…
==> Vérification des dépendances pour la compilation…
==> Récupération des sources…
-> Téléchargement de mfct810wpdrv-1.0.0-0.i386.rpm…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3079k 100 3079k 0 0 2518k 0 0:00:01 0:00:01 --:--:-- 2518k
==> Validation des fichiers source avec sha512sums…
mfct810wpdrv-1.0.0-0.i386.rpm ... Réussite
==> Extraction des sources…
-> Extraction de mfct810wpdrv-1.0.0-0.i386.rpm avec bsdtar
==> Entre dans l’environnement fakeroot…
==> Lancement de package()…
==> Nettoyage de l’installation…
-> Suppression des fichiers libtool…
-> Suppression des fichiers indésirables…
-> Suppression des fichiers de bibliothèques statiques…
-> Nettoyage des symboles inutiles dans les fichiers binaires et les bibliothèques…
-> Compression des pages de man/info…
==> Recherche des erreurs d’empaquetage…
==> Création du paquet « brother-mfct810w »…
-> Génération du fichier .PKGINFO…
-> Génération du fichier .BUILDINFO…
-> Génération du fichier .MTREE…
-> Compression du paquet…
==> Quitte l’environnement fakeroot.
==> Création terminée : brother-mfct810w 1.0.0-0 (dim. 14 nov. 2021 08:37:15)
==> Installation du paquet brother-mfct810w avec pacman -U…
chargement des paquets…
résolution des dépendances…
recherche des conflits entre paquets…
Paquet (1) Nouvelle version Changement net
brother-mfct810w 1.0.0-0 6,31 MiB
Taille totale installée : 6,31 MiB
:: Procéder à l’installation ? [O/n] o
(1/1) vérification des clés dans le trousseau [---------------------------------------------------------------------------------------] 100%
(1/1) vérification de l’intégrité des paquets [---------------------------------------------------------------------------------------] 100%
(1/1) chargement des fichiers des paquets [---------------------------------------------------------------------------------------] 100%
(1/1) analyse des conflits entre fichiers [---------------------------------------------------------------------------------------] 100%
(1/1) vérification de l’espace disque disponible [---------------------------------------------------------------------------------------] 100%
:: Traitement des changements du paquet…
(1/1) installation de brother-mfct810w [---------------------------------------------------------------------------------------] 100%
:: Exécution des crochets (« hooks ») de post-transaction…
(1/1) Arming ConditionNeedsUpdate...
╭─ ~/brother-mfct910dw master !1 ?4
Last edited by Breizh29 (2021-11-14 01:51:55)
Offline
With brother-mfct810w 1.0.0-0 installed does cups find the new driver? If it does, with the new driver installed does printing work?
Offline
No. Cups can't seem to find the new driver.
Too difficult for me to install this printer on Arch. I will have to install fedora in dual-boot on my main desktop to be able to print. But it's pity ...
Offline
Hi,
After many attempts I finally managed to install my Brother MFC-T810W printer on Arch. And that without having to use that damn driver that I didn't have.
Wifi / network printers should not need any drivers to be installed on clientside.
My previous attempt to make an driverless printing had failed but I thought something was missing. After consulting various documentations (Arch and Debian wiki), I installed the following packages on my system: cups cups-pdf cups-filters avahi nss-mdns ipp-usb usbutils ghostscript gsfonts. And sane xsane for the scanner.
I do enable DNS local resolution in / etc / nsswitch, conf (post #3).
I have enable/start the following services: cups.service, cups-browsed.service, avahi-daemon.service and NetworkManager,
And now I have a working wireless connection and a working USB connection.
❯ nano /var/log/cups/access_log
localhost - - [30/Nov/2021:17:53:40 +0000] "POST /printers/Brother_MFC_T810W HTTP/1.1" 200 229 Create-Job successful-ok
localhost - - [30/Nov/2021:17:53:40 +0000] "POST /printers/Brother_MFC_T810W HTTP/1.1" 200 24728 Send-Document successful-ok
localhost - root [30/Nov/2021:17:53:41 +0000] "POST /admin/ HTTP/1.1" 200 269 CUPS-Add-Modify-Printer successful-ok
If this can help someone with the same type of problem as me, so much the better ...
Offline
Thanks, it helped a lot !
Same issue with a brother printer, DCP-L2530DW, and it resolved it.
Merci camarade !
Offline
Thanks, it helped a lot !
Same issue with a brother printer, DCP-L2530DW, and it resolved it.Merci camarade !
De rien! Glad to help when I can.
Just a remark about what I wrote: I think it's best not to install cups-browsed.service.
Offline
Solution in #14 worked with a Brother DCP-L2550DW
Offline
Closing this old solved topic.
Offline
Pages: 1
Topic closed