[Solved] printer is added automatically

Kernels & Hardware, configuring network, installing services

[Solved] printer is added automatically

Postby peer » 2020-03-24 14:21

os: debian testing kde

I do have a hp network printer that is automatically installed during the install process of Debian. This printer did work fine for several months. Today I noticed that the printer failed to print. So I tried to remove the printer and add the printer manually.
But when I remove the printer it is automatically reinstalled again with a non-working configuration.

How can I stop this reinstalling of the printer and remove the automatically installed printer definitive??????

edit:
I do not know if I stopped it but I removed the printer in the web-interface of cups and now it seems to be gone. The printer is not reinstalling.
Last edited by peer on 2020-03-25 12:04, edited 1 time in total.
peer
 
Posts: 99
Joined: 2017-03-26 10:14

Re: printer is added automatically

Postby peer » 2020-03-25 09:11

Today I have the same problem again. The printer is reinstalled automatically.
I have two printers with the same name and one of them prints but the other fails to print.
How can I stop this??
peer
 
Posts: 99
Joined: 2017-03-26 10:14

Re: printer is added automatically

Postby Bloom » 2020-03-25 09:48

There is a system service called cups-browsed which will detect all printers in reach and install them automatically. Yes, this can lead to doubles.
My suggestion is to stop and disable this service so it stops doing that.
Code: Select all
sudo systemctl stop cups-browsed
sudo systemctl disable cups-browsed

You can still manually start the service to allow automatic detect/install of a new printer:
Code: Select all
sudo systemctl start cups-browsed

and if you're done, stop it again:
Code: Select all
sudo systemctl stop cups-browsed

The first two instructions are needed to stop Debian from automatically starting this service everytime you reboot the computer.
You can check the status of the service with this command:
Code: Select all
systemctl status cups-browsed

and after you disabled and stopped it, it should look like mine:
Code: Select all
systemctl status cups-browsed
● cups-browsed.service
     Loaded: masked (Reason: Unit cups-browsed.service is masked.)
     Active: inactive (dead)
User avatar
Bloom
 
Posts: 214
Joined: 2017-11-11 12:23

Re: printer is added automatically

Postby peer » 2020-03-25 12:03

Hello Bloom.

this worked!!
peer
 
Posts: 99
Joined: 2017-03-26 10:14

Re: [Solved] printer is added automatically

Postby shep » 2020-03-25 12:33

Most printers provide multiple way to connect; usb, ethernet, wifi-adhoc and wifi-infrastructure. Auto-discovery can potentially throw 4 printers at you. Other ways to deal with is to turn off the printers wifi and just use a single ethernet/usb cable.
shep
 
Posts: 369
Joined: 2011-03-15 15:22


Return to System configuration

Who is online

Users browsing this forum: Huecuva and 11 guests

fashionable