1

I have a network printer, a HP ENVY, and for some reason, it always appears 2 times (sometimes even 3 times) in the list.

Another weird thing that happens is that every night, exactly at 00:00, a pop up message appears, saying that my printer has been discovered in the network.

Why is this happening? What could I do to stop this weird behaviour?

enter image description here

6
  • 3
    Does this answer your question? How do I disable automatic remote printer installation? This is an ongoing issue through many versions but the resolution remains the same. – 24601 Dec 21 '20 at 10:01
  • I do not want to disable remote configuration. I want it to work properly. – Enrique Moreno Tent Dec 21 '20 at 11:24
  • Which application is the list in the screenshot obtained from? – brian_p Dec 21 '20 at 12:19
  • Stop cups-browsed (systemctl stop cups-browsed) and say which entries disappear from the list. – brian_p Dec 21 '20 at 12:21
  • Do both entries in the list work for printing? – brian_p Dec 21 '20 at 12:22
1

The second print queue disappearing implies that it is being auto-setup by cups-browsed. It should reappear when cups-browsed is restarted. This part of remote configuration is working correctly and as designed.

The first queue is not set up by cups-browsed but by the GTK printing sub-system. I am guessing that the screenshot shows a GTK application. (You did not say what the application is).

GTK gets remote printers all by itself. It does not use CUPS but deals directly with the printer. My guess is that when CUPS is stopped (systemctl stop cups) the first entry still does not disappear.

The issue of GTK not using the correct CUPS APIs may be seen as a bug. There is nothing you can do about the first entry without severely crippling your whole printing system, which is what some of the advice in @User24601's link advocates. Users will have to live with it until the GTK maintainers decide to fit in with what CUPS provides.

Informative links are here and here.

1
  • I restarted cups-browsed and the printer did not return, but I will keep an eye for it tomorrow morning. Thanks! – Enrique Moreno Tent Dec 21 '20 at 21:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.