Abandon le 5-06-26 Supprimer une imprimante Brother

Genevrier1
Messages : 738
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Supprimer une imprimante Brother

Message par Genevrier1 »

Dernier message de la page précédente :

Merci pour toutes ces précisions....

Je vois bien les lignes relatives à Brother, mais j'hésite à désactiver le service CUP ...

- comment le réactiver ensuite ?
- j'ai en mémoire un conseil lié à un bug d'une mise à jour : proscrire les mises à jour Cups version 2.4.7.1.2 ubuntu 7.7 et Cups filters version 2.0.0.0 ubuntu 4.1
Au plaisir de vous lire
Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Genevrier1
Messages : 738
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Supprimer une imprimante Brother

Message par Genevrier1 »

Code : Tout sélectionner

# Printer configuration file for CUPS v2.4.7
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
NextPrinterId 82
<Printer Brother_MFC_J491DW>
PrinterId 81
UUID urn:uuid:103e4bae-b2f3-38a8-7167-5c6d887fda67
Info Brother_MFC_J491DW
Location 
MakeModel Brother Printer, driverless, 2.0.0
DeviceURI implicitclass://Brother_MFC_J491DW/
State Idle
StateTime 1780297918
ConfigTime 1780297918
Type 36892
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Option cups-browsed true
</Printer>
Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Lepoune
Messages : 169
Enregistré le : mer. 25 mars 2026 15:46

Re: Supprimer une imprimante Brother

Message par Lepoune »

Bonjour,

Méthode « simple ».
(je viens de tester)

Pour ne pas avoir à désactiver le service CUPS, le mieux est de ne pas l’activer…
Donc, démarrer sur une clef USB Live (Le service CUPS de l’ordi lui-même n’est alors pas activé).

Une fois dans la session Live :
- ouvrir le gestionnaire de fichier
- aller dans le « Système de fichiers » (de la distribution concernée en cas de MultiBoot)
- Clic droit sur le répertoire « etc » / Ouvrir en tant que SuperUtilisateur / (mot de passe)
- double clic sur le dossier « CUPS »
- double clic sur le fichier « printers.conf »
- fichier / enregistrer sous / (mettre une extension bidon, ex : « printers.conf.back » ça servira de secours) puis fermer.
- ouvrir de nouveau « printers.conf »
- repérer les lignes qui concernent l’imprimante à supprimer.
- sélectionner de la ligne « Next printer Id (numéro?) jusqu’à la ligne « ErrorPolicy retry-job »
(ou de la ligne "Printer (nom de l'imprimante)" si elle n'est pas en premier)
- supprimer (touche « Suppr » du clavier)
- supprimer également la ligne vide restante (curseur souris sur la ligne vide + BackSpace)
- fichier /v Enregistrer
- fichier / quitter (ou clic souris pour fermer)
- fermer la session Live
- sur la demande, retirer la clef USB Live + Enter
- Démarrer l’ordi.

Normalement, à l’issue de l’ouverture de la session normale, l’icône de l’imprimante aura disparu et n’apparaîtra pas dans l’applet de la barre d’état.

@+
Pc : Ordi de Bureau = HP Compaq 8200 Elite USDT | OS = Linux Mint 22.3 Zena au 31-03-26 | Desk = Xfce v: 4.18.1 | Kernel = 6.8.0-106-generic |
CPU = quad core model - Intel Core i5-2400S - bits = 64 | RAM = 8 GiB | CG = Intel 2nd Generation Core Processor Family Integrated Graphics
Lepoune
Messages : 169
Enregistré le : mer. 25 mars 2026 15:46

Re: Supprimer une imprimante Brother

Message par Lepoune »

Bonjour Genevrier1,

As-tu pu progresser ?

@+
Pc : Ordi de Bureau = HP Compaq 8200 Elite USDT | OS = Linux Mint 22.3 Zena au 31-03-26 | Desk = Xfce v: 4.18.1 | Kernel = 6.8.0-106-generic |
CPU = quad core model - Intel Core i5-2400S - bits = 64 | RAM = 8 GiB | CG = Intel 2nd Generation Core Processor Family Integrated Graphics
Genevrier1
Messages : 738
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Supprimer une imprimante Brother

Message par Genevrier1 »

Merci Lepoume,

J'ai été absent quelques jours, mais je vais tester ton tuto ce soir....
Je te tiendrai au jus ...
Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Genevrier1
Messages : 738
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Supprimer une imprimante Brother

Message par Genevrier1 »

Bonjour,

J'ai bien démarré sur une clé usb live mais dans le dossier "cups" je ne vois pas de fichier « printers.conf »
Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Genevrier1
Messages : 738
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Supprimer une imprimante Brother

Message par Genevrier1 »

Rectificatif,

J'ai bien trouvé le fichier printers.config, mais aucune donnée concernant l'imprimante Brother ....qui apparaît toujours dans mon " imprimantes localhost" !
Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Mni37
Messages : 136
Enregistré le : lun. 3 oct. 2016 16:42
Localisation : Indre

Re: Supprimer une imprimante Brother

Message par Mni37 »

Bonjour,
Ici https://www.reddit.com/r/linuxquestions ... ter/?tl=fr il est dit qu'il faut arrêter le service cups avant de supprimer l'imprimante.
A tester ?
Laptop TOSHIBA SATELLITE-L750D RAM 8GB Quad core AMD A6-3420M SSD 250Go systèmes, SSD 500 Go données, Kernel: 6.8, Mint 22.1, Xfce 4.18, Windows 10
Graphics Card-1: [AMD/ATI] BeaverCreek [Radeon HD 6520G] Card-2: [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] Audio : [AMD] FCH Azalia
Network: Card-1: Qualcomm Atheros AR8152 v2.0 Fast Ethernet Card-2: Realtek RTL8188CE 802.11b/g/n WiFi Adapter
Genevrier1
Messages : 738
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Supprimer une imprimante Brother

Message par Genevrier1 »

Code : Tout sélectionner

 systemctl stop cups
michel@michel-UNLOCK-INSTALL:~$ sudo lpadmin  Brother_MFC_J491DW
[sudo] Mot de passe de michel :    
lpadmin: Unknown argument "Brother_MFC_J491DW".
Usage: lpadmin [options] -d destination
       lpadmin [options] -p destination
       lpadmin [options] -p destination -c class
       lpadmin [options] -p destination -r class
       lpadmin [options] -x destination
Options
-c class                Add the named destination to a class
-d destination          Set the named destination as the server default
-D description          Specify the textual description of the printer
-E                      Encrypt the connection to the server
-E                      Enable and accept jobs on the printer (after -p)
-h server[:port]        Connect to the named server and port
-i ppd-file             Specify a PPD file for the printer
-L location             Specify the textual location of the printer
-m model                Specify a standard model/PPD file for the printer
-m everywhere           Specify the printer is compatible with IPP Everywhere
-o name-default=value   Specify the default value for the named option
-o Name=Value           Specify the default value for the named PPD option 
-o cupsIPPSupplies=false
                        Disable supply level reporting via IPP
-o cupsSNMPSupplies=false
                        Disable supply level reporting via SNMP
-o job-k-limit=N        Specify the kilobyte limit for per-user quotas
-o job-page-limit=N     Specify the page limit for per-user quotas
-o job-quota-period=N   Specify the per-user quota period in seconds
-o printer-error-policy=name
                        Specify the printer error policy
-o printer-is-shared=true
                        Share the printer
-o printer-op-policy=name
                        Specify the printer operation policy
-p destination          Specify/add the named destination
-r class                Remove the named destination from a class
-R name-default         Remove the default value for the named option
-u allow:all            Allow all users to print
-u allow:list           Allow the list of users or groups (@name) to print
-u deny:list            Prevent the list of users or groups (@name) to print
-U username             Specify the username to use for authentication
-v device-uri           Specify the device URI for the printer
-x destination          Remove the named destination
michel@michel-UNLOCK-INSTALL:~$ sudo lpadmin  Brother_MFC_J491DW

Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Lepoune
Messages : 169
Enregistré le : mer. 25 mars 2026 15:46

Re: Supprimer une imprimante Brother

Message par Lepoune »

Bonjour,

Lorsque l'on démarre sur la clef Live, il n'y a pas lieu de désactiver le service cups pour une intervention sur le DD de l'ordi.

@Genevrier1 :
Après avoir ouvert le dossier "etc" en mode super-utilisateur (clic droit) puis le dossier CUPS puis le fichier "PRINTER.CONF" (pas "printer.config), pourrais-tu "Edition / Tout sélectionner (Ctrl+A)" puis "Edition / Copier (Ctrl+C)" puis basculer sur le forum et dans un nouveau poste Coller (clic droit).

Exemple :
----------------------------------------------------------
# Printer configuration file for CUPS v2.4.7
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
NextPrinterId 366
<DefaultPrinter HL-1250-series>
PrinterId 2
UUID urn:uuid:99f697f3-19cb-30b7-643a-648ccc0707e9
Info Brother HL-1250 series
Location lepoune-HP-Compaq-8200-Elite-USDT-PC
MakeModel Brother HL-1250 Foomatic/hl1250 (recommended)
DeviceURI usb://Brother/HL-1250%20series
State Idle
StateTime 1780561155
ConfigTime 1768143414
Type 8433668
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</DefaultPrinter>
<Printer HP_DeskJet_2800_series_41714A_USB>
PrinterId 365
UUID urn:uuid:5e1256a5-8064-3517-7014-b10dcd3d73d8
Info HP_DeskJet_2800_series_41714A_USB
Location
MakeModel HP Printer, driverless, 2.0.0
DeviceURI implicitclass://HP_DeskJet_2800_series_41714A_USB/
State Idle
StateTime 1780556693
ConfigTime 1780605720
Type 36876
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Option cups-browsed true
</Printer>
<Printer PDF>
PrinterId 3
UUID urn:uuid:c7db748f-97e7-37bb-6d79-cc8306a9a03e
Info PDF
MakeModel Generic CUPS-PDF Printer (w/ options)
DeviceURI cups-pdf:/
State Idle
StateTime 1770300743
ConfigTime 1768143416
Type 8450124
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Option pdftops-renderer pdftocairo
</Printer>
-------------------------------------------------------

@+
Pc : Ordi de Bureau = HP Compaq 8200 Elite USDT | OS = Linux Mint 22.3 Zena au 31-03-26 | Desk = Xfce v: 4.18.1 | Kernel = 6.8.0-106-generic |
CPU = quad core model - Intel Core i5-2400S - bits = 64 | RAM = 8 GiB | CG = Intel 2nd Generation Core Processor Family Integrated Graphics
Genevrier1
Messages : 738
Enregistré le : mer. 15 sept. 2021 20:14
Localisation : Liège/Belgique
Contact :

Re: Supprimer une imprimante Brother

Message par Genevrier1 »

,,,,,,,…….# Printer configuration file for CUPS v2.4.7
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
NextPrinterId 102
<Printer Canon-MF4320-4350-(UFRII-LT)>
PrinterId 10
UUID urn:uuid:bb9fd10d-9be0-30fa-4764-a988802d785d
Info Canon MF4320-4350 (UFRII LT)
Location michel-HP-EliteBook-850-G3
MakeModel Canon iP4500 series - CUPS+Gutenprint v5.3.4
DeviceURI usb://Canon/MF4320-4350%20(UFRII%20LT)?serial=SJF885051022G&interface=1
State Stopped
StateMessage Unplugged or turned off
StateTime 1764531599
ConfigTime 1764403188
Reason paused
Type 36892
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
<DefaultPrinter Canon-TS3300-series>
PrinterId 6
UUID urn:uuid:25bebaef-162a-393d-6102-eb97ef8f16b8
AuthInfoRequired none
Info Canon TS3300 series
Location
MakeModel Canon Printer, driverless, 2.0.0
DeviceURI ipps://Canon%20TS3300%20series._ipps._tcp.local/
State Idle
StateTime 1756986159
ConfigTime 1756927898
Type 36876
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Attribute marker-colors \#00CFFF#F200FF#FFDA00,#000000
Attribute marker-levels 100,100
Attribute marker-low-levels 15,15
Attribute marker-high-levels 100,100
Attribute marker-names Color,Black
Attribute marker-types ink-cartridge,ink-cartridge
Attribute marker-change-time 1756986144
</DefaultPrinter>
<Printer Hewlett-Packard-hp-LaserJet-3020>
PrinterId 13
UUID urn:uuid:59bbcbd3-a5ba-3442-5166-da4a42c3ca1d
Info Hewlett-Packard hp LaserJet 3020
Location michel-HP-EliteBook-850-G3
MakeModel HP LaserJet 3020 3030 Postscript (recommended)
DeviceURI hp:/usb/hp_LaserJet_3020?serial=00CNBF048758
State Idle
StateTime 1769430787
ConfigTime 1769430783
Type 8425540
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
<Printer hp-LaserJet-3020>
PrinterId 11
UUID urn:uuid:47f0706e-6a35-3172-4737-25abe833c1d8
Info Hewlett-Packard hp LaserJet 3020
Location michel-HP-EliteBook-850-G3
MakeModel HP LaserJet 3020 3030 Postscript (recommended)
DeviceURI hp:/usb/hp_LaserJet_3020?serial=00CNBF048758
State Idle
StateTime 1769430656
ConfigTime 1769430656
Type 8425540
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
<Printer hp-LaserJet-3020-Fax>
PrinterId 12
UUID urn:uuid:a6ed0256-d11c-347d-5975-19c3e0b2b01d
Info HP Fax
Location michel-HP-EliteBook-850-G3
MakeModel HP Fax hpcups
DeviceURI hpfax:/usb/hp_LaserJet_3020?serial=00CNBF048758
State Idle
StateTime 1769430659
ConfigTime 1769430659
Type 4108
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
Mint 22 cinamon 5.6.7
Intel® Core™ i3-2120 CPU @ 3.30GHz × 4
Intel® HD Graphics 2000 (SNB GT1)
Répondre