Bonjour,
Je suis nouveau sur Fedora, j'ai installé la fedora 28 spin kde puis installé gnome car l'équivalent kde "logiciels" buguait à mort, puis ai fait depuis une mise à jour vers fedora 29 qui s'est déroulée à merveille (chapeau fedora).
J'ai un petit problème d'impression que je trimballe depuis la fedora28 (la mise à jour n'a rien changé) : j'arrive seulement à imprimer avec le driver "Brother HL-2140 Foomatic/hl1250" (avec des restrictions de marge) par contre le driver brother laisse l'imprimante muette :/
J'ai lu les messages précédents avec les solutions de didierg (
https://forums.fedora-fr.org/viewtopic.php?pid=568848#p568848)
J'ai donc essayé une nouvelle installation des drivers brother :
[gilles@localhost Documents]$ chmod 755 linux-brprinter-installer-2.2.1-1
[gilles@localhost Documents]$ sudo ./linux-brprinter-installer-2.2.1-1
[sudo] Mot de passe de gilles :
Input model name ->HL2140
You are going to install following packages.
brhl2140lpr-2.0.2-1.i386.rpm
cupswrapperHL2140-2.0.2-1.i386.rpm
OK? [y/N] ->y
rpm -ihv --nodeps --replacefiles --replacepkgs brhl2140lpr-2.0.2-1.i386.rpm
Verifying... ################################# [100%]
Préparation... ################################# [100%]
Mise à jour / installation...
1:brhl2140lpr-2.0.2-1 ################################# [100%]
which: no pstops in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin)
rpm -ihv --nodeps --replacefiles --replacepkgs cupswrapperHL2140-2.0.2-1.i386.rpm
Verifying... ########################################
Préparation... ########################################
Mise à jour / installation...
cupswrapperHL2140-2.0.2-1 ########################################
#
semanage fcontext -a -t bin_t /usr/local/Brother
ValueError: File context for /usr/local/Brother already defined
restorecon -R /usr/local/Brother
semanage fcontext -a -t cupsd_rw_etc_t /usr/local/Brother/inf(/.*)?
ValueError: File context for /usr/local/Brother/inf(/.*)? already defined
restorecon -R /usr/local/Brother/inf
semanage fcontext -a -t bin_t /usr/local/Brother/lpd(/.*)?
ValueError: File context for /usr/local/Brother/lpd(/.*)? already defined
restorecon -R /usr/local/Brother/lpd
semanage fcontext -a -t bin_t /usr/local/Brother/cupswrapper(/.*)?
ValueError: File context for /usr/local/Brother/cupswrapper(/.*)? already defined
restorecon -R /usr/local/Brother/cupswrapper
semanage fcontext -a -t bin_t /opt/brother
ValueError: File context for /opt/brother already defined
restorecon -R /opt/brother
semanage fcontext -a -t cupsd_rw_etc_t /etc/opt/brother
restorecon -R /etc/opt/brother
semanage fcontext -a -t cupsd_rw_etc_t /opt/brother/Printers/(.*/)?inf(/.*)?
ValueError: File context for /opt/brother/Printers/(.*/)?inf(/.*)? already defined
restorecon -R /opt/brother/Printers
semanage fcontext -a -t bin_t /opt/brother/Printers/(.*/)?lpd(/.*)?
ValueError: File context for /opt/brother/Printers/(.*/)?lpd(/.*)? already defined
restorecon -R /opt/brother/Printers
semanage fcontext -a -t bin_t /opt/brother/Printers/(.*/)?cupswrapper(/.*)?
ValueError: File context for /opt/brother/Printers/(.*/)?cupswrapper(/.*)? already defined
restorecon -R /opt/brother/Printers
restorecon -RFv /usr/lib/cups/filter
Relabeled /usr/lib/cups/filter/brlpdwrapperHL2140 from unconfined_u:object_r:bin_t:s0 to system_u
:object_r:bin_t:s0
setsebool -P cups_execmem 1
Will you specify the Device URI? [Y/n] ->n
Test Print? [y/N] ->n
Hit Enter/Return key.
Dans l'outil graphique de configuration de l'impression J'ai donc 2 imprimantes :
- " HL2140 " dont le périphérique est " usb:/dev/usb/lp0 " et le pilote est " Brother HL2140 for CUPS "
- " Brother HL-2140 series " dont le périphérique est " usb://Brother/HL-2140%20series?serial=K8J982272 " et le pilote est " Brother HL-2140 Foomatic/hl1250 "
La première (driver brother) ne marche pas (alors que sous magéia 6 il fonctionnait parfaitement)
La deuxième (driver linux) marche mais me fait des marges trop grandes.
J'aimerais une solution pour faire marcher le driver brother svp 😉
Merci.