Home > arch, Linux > org.cups.cupsd.service Installare la stampante Brother MFC-5890 in Manjaro arch linux derivative

org.cups.cupsd.service Installare la stampante Brother MFC-5890 in Manjaro arch linux derivative

org.cups.cupsd.serviceL’utilizzo  delle stampanti Brother sono Linux è diventato più agevole negli ultimi anni grazie al rilascio dei Driver Install Tool da parte di Brother. Ad esempio per la stampante MFC-5890CN è disponibile attualmente un Driver install Tool  decisamente efficace per le distro con pacchetti .deb . rpm. (  dettagli in Installare stampante di Brother MFC-5890CN in Ubuntu nuovo installer tools ). Se si utilizza una distribuzione arch o sua derivata ad esempio Manjaro la situazione è meno agevole con qualche pacchetto che va addirittura rimosso per riuscire ad utilizzare la stampante.

Installare la stampante di rete Borther MFC-5890 in Maniaro arch Linux derivative

Verificare che il servizio di stampa  sia disponibile con

$ sudo systemctl status org.cups.cupsdorg.cups.cupsd.service - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2015-03-30 08:18:19 CEST; 1 weeks 2 days ago
     Docs: man:cupsd(8)
 Main PID: 737 (cupsd)
   CGroup: /system.slice/org.cups.cupsd.service
           └─737 /usr/bin/cupsd -l 
Systemd rappresenta un blocco di demoni, librerie e utilities per la gestione e configurazione di linux con l' obiettivo di rimpiazzare Linux init system  (https://en.wikipedia.org/wiki/Systemd - https://wiki.archlinux.org/index.php/Systemd_%28Italiano%29)

Servizio cups

Con la versione 2.0.0 di  cups il nome servizio è cambiato da cups in org.cups.cupsd

in forma estesa da

cups.service

a

org.cups.cupsd.service

In talune situazioni potrebbe essere necessario disabilitare il vecchio servizio cups e abilitare il nuovo con systemctl enable org.cups.cupsd.service ( /etc/systemd/system/ | /etc/systemd/system/printer.target.wants/@org.cups.cupsd.service ).

La configurazione dei servizi di stampa può essere effettuata via web all’indirizzo

http://localhost:631/

org.cups.cupsd.service

File di configurazione di cupsd con porta del servizio web /etc/cups/cupsd.conf

...
# Only listen for connections from the local machine.
Listen localhost:631
Listen /run/cups/cups.sock
...

Il driver per la stampante brother-mfc-5890cn è disponibile via AUR e si può installare con

yaourt -S brother-mfc-5890cn

Purtroppo se si prova ad aggiungere la stampante la procedura non da esito positivo

con pagine di errore del tipo

cupsd error

Per effettuare l’inserimento è necessario prima rimuovere alcuni pacchetti.

pacman -R manjaro-printer
 pacman -R foomatic-db foomatic-db-nonfree

Riavviare il servizio con

sudo systemctl start org.cup.cupsd

Accedere nuovamente a

http://localhost:631/

La procedura evidenziata al termine consentirà di visualizzare premendo il menu Printers la seguente pagina.

cupsd printers

Nella home di cups Selezionare in <CUPS for Amministrators>

  (digitare la password di amministratore)

Nella pagina seguente clikkare il pulsante [Add Printers]

cupsd add printers

Quindi selezionare in Discovered Network Printers :  Brother MFC-5890CN …

Add Printer Brother mfc 5890cn cups

In location è possibile digitare un testo identificativo tipo homeprinter

cupsd add printers brothers

Brother mfc 5890cn manjaro

Selezionare e Premere [Add Printer] nella pagina impostare

le opzioni di default delle stampante

Brother mfc 5890cn default option

Add Printer utilizzando la modalità AppSocket/HP JetDirect

La stampante può essere installata anche utilizzando l’opzione AppSocket/Hp JetDirect.

AppSocket/HP JetDirect

In questo caso dopo aver premuto <Continue> si deve precisare l’ip di rete

Brother mfc 5890cn-arch-socket10

Dopo aver inserito Name Description Location

Brother mfc 5890cn arch socket

Si deve selezionare il driver appropriato in questo caso
appunto Brother MFC.5890CN CUPS v1.1

Brother mfc 5890cn socket Driver

Si conclude al solito con le opzioni di default

Brother mfc 5890cn socket31

 

 

CUPS printers

Aggiungere la Virtual PDF printer ( CUPS-PDF )

Per impostare in cups una stampante virtuale così da inviare l’output di stampa verso un file pdf

Aggiungere la Virtual PDF printer ( CUPS-PDF )

cups virtual pdf printer 21

Scelta della stampante virtuale

cups virtual pdf  printers 23

cups virtual pdf printer 24

Impostazioni opzioni di default

cups virtual pdf printer 25

cups virtual pdf printer 26

Network printer via AppSocket

Brother mfc 5890cn- socket IP 36

Risorse:

$ yaourt -S brother-mfc-5890cn
==> Downloading brother-mfc-5890cn PKGBUILD from AUR...
x PKGBUILD
x lpr-license.txt
x brother-mfc-5890cn.install
x cupswrapper-license.txt
Comment by holgersson (2013-02-10 22:21)
Why? Anyway - I'm not using Arch anymore (and therefore no systemd).
Do you want to maintain these two packages?

Comment by holgersson (2013-02-10 22:22)
Free for all! 🙂

Comment by holgersson (2013-02-10 22:24)
Free for all 🙂
See brother-cups-wrapper-mfc-5890cn for more information.

Comment by cin (2013-02-11 14:14)
This one works flawless. I had just wrong lib32 packages installed! Anyway, sad to here we lost an active archlinux member.

Best regards

Anonymous comment (2014-04-05 21:29)
Adopted and fixed PKGBUILD.

brother-mfc-5890cn 1.1.2-2 (Sat 5 Apr 23:29:07 CEST 2014)
This package is orphaned
( Unsupported package: Potentially dangerous ! )
==> brother-mfc-5890cn dependencies:
- cups (already installed)
- lib32-glibc (already installed)
==> Continue building brother-mfc-5890cn ? [Y/n]
==> --------------------------------------------
==>
==> Building and installing package
==> Making package: brother-mfc-5890cn 1.1.2-2 (Sat 25 Apr 11:33:45 CEST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading mfc5890cnlpr-1.1.2-2.i386.rpm...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1864k 100 1864k 0 0 98461 0 0:00:19 0:00:19 --:--:-- 145k
-> Downloading mfc5890cncupswrapper-1.1.2-2.i386.rpm...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15647 100 15647 0 0 25374 0 --:--:-- --:--:-- --:--:-- 25359
-> Found cupswrapper-license.txt
-> Found lpr-license.txt
==> Validating source files with md5sums...
mfc5890cnlpr-1.1.2-2.i386.rpm ... Passed
mfc5890cncupswrapper-1.1.2-2.i386.rpm ... Passed
cupswrapper-license.txt ... Passed
lpr-license.txt ... Passed
==> Extracting sources...
-> Extracting mfc5890cnlpr-1.1.2-2.i386.rpm with bsdtar
-> Extracting mfc5890cncupswrapper-1.1.2-2.i386.rpm with bsdtar
==> Starting prepare()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Purging unwanted files...
-> Removing libtool files...
-> Removing static library files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package "brother-mfc-5890cn"...
-> Generating .PKGINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: brother-mfc-5890cn 1.1.2-2 (Sat 25 Apr 11:34:07 CEST 2015)
==> Exporting brother-mfc-5890cn to /var/cache/pacman/pkg/ directory
[sudo] password for maurizio:
‘/tmp/yaourt-tmp-maurizio/PKGDEST.IHI/brother-mfc-5890cn-1.1.2-2-x86_64.pkg.tar.xz’ -> ‘/var/cache/pacman/pkg/brother-mfc-5890cn-1.1.2-2-x86_64.pkg.tar.xz’

==> Continue installing brother-mfc-5890cn ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> v

==> Continue installing brother-mfc-5890cn ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> v

brother-mfc-5890cn /usr/
brother-mfc-5890cn /usr/bin/
brother-mfc-5890cn /usr/bin/brprintconf_mfc5890cn
brother-mfc-5890cn /usr/lib/
brother-mfc-5890cn /usr/lib/cups/
brother-mfc-5890cn /usr/lib/cups/filter/
brother-mfc-5890cn /usr/lib/cups/filter/brlpdwrappermfc5890cn
brother-mfc-5890cn /usr/share/
brother-mfc-5890cn /usr/share/brother/
brother-mfc-5890cn /usr/share/brother/Printer/
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/cupswrapper/
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/cupswrapper/brcupsconfpt1
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/brPrintListij2
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/brio08aa.bcm
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/brio08ab.bcm
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/brio08ac.bcm
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/brio08ae.bcm
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/brio08af.bcm
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/brio08ag.bcm
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/brio08ak.bcm
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/brmfc5890cnfunc
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/brmfc5890cnrc
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/inf/paperinfij2
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/lpd/
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/lpd/brmfc5890cnfilter
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/lpd/filtermfc5890cn
brother-mfc-5890cn /usr/share/brother/Printer/mfc5890cn/lpd/psconvertij2
brother-mfc-5890cn /usr/share/cups/
brother-mfc-5890cn /usr/share/cups/model/
brother-mfc-5890cn /usr/share/cups/model/brmfc5890cn.ppd
brother-mfc-5890cn /usr/share/licenses/
brother-mfc-5890cn /usr/share/licenses/brother-mfc-5890cn/
brother-mfc-5890cn /usr/share/licenses/brother-mfc-5890cn/cupswrapper-licence.txt
brother-mfc-5890cn /usr/share/licenses/brother-mfc-5890cn/lpr-licence.txt

==> Continue installing brother-mfc-5890cn ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==>

brother-mfc-5890cn /usr/share/licenses/brother-mfc-5890cn/lpr-licence.txt

==> Continue installing brother-mfc-5890cn ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
c

brother-mfc-5890cn E: ELF file ('usr/share/brother/Printer/mfc5890cn/lpd/brmfc5890cnfilter') outside of a valid path.
brother-mfc-5890cn E: ELF file ('usr/share/brother/Printer/mfc5890cn/cupswrapper/brcupsconfpt1') outside of a valid path.
brother-mfc-5890cn W: Dependency included and not needed ('cups')
==> Continue installing brother-mfc-5890cn ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==>

[sudo] password for maurizio:
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) brother-mfc-5890cn-1.1.2-2

Total Installed Size: 3.21 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [#####################################] 100%
(1/1) checking package integrity [#####################################] 100%
(1/1) loading package files [#####################################] 100%
(1/1) checking for file conflicts [#####################################] 100%
(1/1) checking available disk space [#####################################] 100%
(1/1) installing brother-mfc-5890cn [#####################################] 100%
Restart CUPS to load the new files
You can now register your new printer using the web interface at:
http://localhost:631/
  1. Non c'è ancora nessun commento.
  1. No trackbacks yet.

Lascia un commento

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

%d blogger cliccano Mi Piace per questo: