17

When I try to print from a Gnome application, the print dialog has non-functional printer listed. It is called "duerqxesz5090 -- Basement Utility Room -- Rejecting Jobs". Here is a screenshot of the Gnome print dialog box:

ghost printer

  • If I try to select that printer, the application will freeze for minutes or even crash.
  • I only get this with Gnome programs (such as gedit or glabels), but not with firefox or libreoffice
  • It is possible that it is the remnants of an old printer I did have installed at some point. I did have a printer installed in the basement utility room.
  • I'm not using Gnome (I'm using xfce), but I have used Gnome in the past.
  • My Ubuntu version is Ubuntu 15.04 (Vivid)
  • CUPS doesn't know anything about this ghost printer: cups
  • system-config-printer doesn't know anything about this printer: System config printer

How can I find out where this non-existent printer is listed on my system and remove it?

I've tried searching for it in various places, but none of these return any results:

  • dconf dump / | grep duerqx
  • sudo grep -r duerqx /etc/
  • gsettings list-recursively | grep duerqx
  • Interesting. Wild guess: try to see if there is some remnant in /etc/cups/printers.conf or (shouldn't) in /etc/printcap. Or if you had gnome before, try to launch /usr/bin/gnome-control-center.real --- it uses a different (and worse) printer settings program. – Rmano Sep 22 '15 at 7:34
  • @Rmano -- Thank you for the suggestions. /etc/cups/printers.conf has only an entry for HL4570CDW, same for /etc/printcap. gnome-control-center.real has a printers icon in it that launches system-config-printer -- I don't get the "worse" printer settings program. – Stephen Ostermiller Sep 22 '15 at 12:26
  • I can confirm this on Ubuntu 15.10 clean install. I only have one printer installed which is a Brother MFC9450CDN. There seem to be a common thread through the posts I've seen on the internet: Everyone seem to have a Brother printer installed. – Charl le Roux Nov 2 '15 at 9:28
  • If you're using CUPS does anything appear in the browser based settings - localhost:631/printers ? If it's there then click it, then choose "delete printer" from the administration drop-down list. – pbhj Nov 10 '15 at 23:40
  • @pbhj I included a screenshot of that page in my question already. The only thing that CUPS lists is my real actual printer. – Stephen Ostermiller Nov 11 '15 at 1:10
15

It turns out that this printer isn't installed anywhere on my system. This is Gnome auto-discovering my Brother laser printer (the one that is installed as HL4570CDW). So it ends up that the same printer shows up twice on the list (but only once functionally.)

I discovered this because I noticed that my printer's administration web interface said that the printer was located in the "Basement Utility Room" which exactly matches what the Gnome programs were saying. I figured out how to change that setting. Once I updated the printer to say it was in the "Office (1st Floor)", the dialog immediatly changed to say so as well:

If I unplug my printer from the network and try to print from a Gnome application, the "ghost printer" no longer appears. If I plug the printer back in and try to print it re-appears on the list.

I went into the printer configuration and disabled network services one at a time until I found the one that was causing the printer to magically appear (although non-functional.) The culprit is IPP. If I disable IPP services on the printer (and reboot it), then I no longer get the ghost printer even when the printer is on and connected to the network.

When IPP is disabled, you can still install the printer as LPD or raw socket. However, IPP may be important for printing from other platforms such as Windows and Mac.

In the end it appears to be a bug that a printer discovered via IPP is non-functional.


To stop programs from showing auto-discovered printers in the print dialog, you need to reconfigure the avahi daemon service as detailed in this answer to How do I disable automatic remote printer installation?:

edit /etc/avahi/avahi-daemon.conf and in the [server] section, add enable-dbus=no then restart the avahi-daemon service: sudo service avahi-daemon restart

Once I configure avahi like this, I no longer see this ghost printer even when the printer is available with IPP.

  • Excellent answer, the question is, could there be a utility to this feature? Is there a circumstance where the printer discovered can be used (without configuration). Mine also shows "rejecting jobs". – alfC Jul 30 '17 at 10:14
  • In most cases, the people I've found encountering the error in internet forums have Brother printers. I think this feature works better with printers from some other manufacturers. – Stephen Ostermiller Jul 30 '17 at 10:17
  • You are right, the ghost printer (duerquex) is useless, the dialog hangs trying to connect to the printer. – alfC Jul 31 '17 at 5:52
  • I tried changing enable-dbus=no on my Xubuntu 18.04 system but then restarting avahi just hangs. Is there another way to prevent avahi from finding just printers? Seems like I need the zero-config feature for other things like accessing my file share resources (although I could just use the IPs). – NRaygun Jul 12 at 13:27

protected by Community Jul 5 '18 at 6:55

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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