You are not logged in.

#1 2015-07-20 14:58:07

bjorntj
Member
Registered: 2011-05-10
Posts: 150

[SOLVED] Howto remove a printer I can not find?

In certain applications, like evince, I have a printer listed that I can not find in my CUPS config (it's not listed in eg. Firefox). Not a big deal but doens't look right having the printer there, so if anyone can point me in the right direction where to delete this printer, I would appreciate it... smile


Regards,

BTJ

Last edited by bjorntj (2015-07-21 12:28:24)


Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

Offline

#2 2015-07-20 15:05:55

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,901
Website

Re: [SOLVED] Howto remove a printer I can not find?

Have you enabled cups-browsed.service?

https://wiki.archlinux.org/index.php/CUPS#Server


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-07-20 15:08:17

bjorntj
Member
Registered: 2011-05-10
Posts: 150

Re: [SOLVED] Howto remove a printer I can not find?

No, it is a printer that I installed halfway when I first installed my computer...


Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

Offline

#4 2015-07-20 15:11:22

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,901
Website

Re: [SOLVED] Howto remove a printer I can not find?

Is it listed under 'lpstat -a -v'? Have you checked /etc/cups/printers.conf?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2015-07-20 15:12:31

bjorntj
Member
Registered: 2011-05-10
Posts: 150

Re: [SOLVED] Howto remove a printer I can not find?

Have checked printers.conf yes and it is not listed using 'lpstat -a -v'


Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

Offline

#6 2015-07-20 15:23:03

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,901
Website

Re: [SOLVED] Howto remove a printer I can not find?

Well that pretty much eliminates CUPS as the culprit. I guess this is a gtk3 application-specific problem. Possibly this printer is configured in dconf or whatever gnome uses these days. I'm afraid I can't offer any advice about fixing that though, I don't use gtk3.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2015-07-20 17:24:21

bjorntj
Member
Registered: 2011-05-10
Posts: 150

Re: [SOLVED] Howto remove a printer I can not find?

Ok, thx for trying... smile


Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

Offline

#8 2015-07-20 21:04:59

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: [SOLVED] Howto remove a printer I can not find?

Have youb tried taking at a look in the CUPS web interface (localhost:631) and simply deleting the printer from there?


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#9 2015-07-20 21:07:19

bjorntj
Member
Registered: 2011-05-10
Posts: 150

Re: [SOLVED] Howto remove a printer I can not find?

Yes, as I said; the printer is not listed in CUPS, neither in printers.conf nor the web interface...


Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

Offline

#10 2015-07-21 07:09:43

pb
Member
From: Krakow, PL
Registered: 2014-12-26
Posts: 336
Website

Re: [SOLVED] Howto remove a printer I can not find?

How did you install it? Some printer drivers are install via manufacuture's scripts i.e. Samsung, and we can uninstall it run this script with --uninstall option or something like this.

Offline

#11 2015-07-21 08:00:16

demaio
Member
From: Germany
Registered: 2012-09-02
Posts: 101
Website

Re: [SOLVED] Howto remove a printer I can not find?

I had a similar problem. Seems like some gnome apps (e.g. evince) use avahi for printer detection. Try disabling the avahi daemons which is not so easy because AFAIR they use dbus activation. I had to do this to completely disable avahi:

systemctl disable avahi-daemon.service
systemctl disable avahi-daemon.socket
systemctl disable avahi-dnsconfd.service
systemctl mask avahi-daemon.service
systemctl mask avahi-daemon.socket
systemctl mask avahi-dnsconfd.service
systemctl stop avahi-daemon.service
systemctl stop avahi-daemon.socket
systemctl stop avahi-dnsconfd.service

I don't know if the "disable" lines are really necessary but only disabling and stopping avahi services brought them back at next boot [EDIT: or at the next start of evince, I don't remember exactly]

Last edited by demaio (2015-07-21 08:01:26)

Offline

#12 2015-07-21 12:16:24

bjorntj
Member
Registered: 2011-05-10
Posts: 150

Re: [SOLVED] Howto remove a printer I can not find?

pb wrote:

How did you install it? Some printer drivers are install via manufacuture's scripts i.e. Samsung, and we can uninstall it run this script with --uninstall option or something like this.

I don't remember but I think I was using the CUPS web interface...


Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

Offline

#13 2015-07-21 12:19:49

bjorntj
Member
Registered: 2011-05-10
Posts: 150

Re: [SOLVED] Howto remove a printer I can not find?

demaio wrote:

I had a similar problem. Seems like some gnome apps (e.g. evince) use avahi for printer detection. Try disabling the avahi daemons which is not so easy because AFAIR they use dbus activation. I had to do this to completely disable avahi:

systemctl disable avahi-daemon.service
systemctl disable avahi-daemon.socket
systemctl disable avahi-dnsconfd.service
systemctl mask avahi-daemon.service
systemctl mask avahi-daemon.socket
systemctl mask avahi-dnsconfd.service
systemctl stop avahi-daemon.service
systemctl stop avahi-daemon.socket
systemctl stop avahi-dnsconfd.service

I don't know if the "disable" lines are really necessary but only disabling and stopping avahi services brought them back at next boot [EDIT: or at the next start of evince, I don't remember exactly]

But this did the trick , thx.... smile


Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

Offline

Board footer

Powered by FluxBB