如何摆脱Gnome中的Ghost打印机?

斯蒂芬·奥斯特米勒

当我尝试从Gnome应用程序进行打印时,“打印”对话框列出了无法正常工作的打印机。它被称为“ duerqxesz5090-地下室杂物间-拒绝工作”。这是Gnome打印对话框的屏幕截图:

幽灵打印机

  • 如果我尝试选择该打印机,该应用程序将冻结几分钟甚至崩溃。
  • 我只能通过Gnome程序(例如gedit或glabels)获得此信息,而不能通过Firefox或libreoffice获得此信息
  • 可能是某个时候我确实安装了旧打印机的残留物。我确实在地下室杂物间中安装了打印机。
  • 我没有使用Gnome(我正在使用xfce),但是我过去曾经使用过Gnome。
  • 我的Ubuntu版本是Ubuntu 15.04(Vivid)
  • CUPS对此幽灵打印机一无所知: 杯子
  • system-config-printer对这台打印机一无所知: 系统配置打印机

我如何找出该不存在的打印机在系统上列出的位置并将其删除?

我尝试在不同的地方搜索它,但是这些都不返回任何结果:

  • dconf dump / | grep duerqx
  • sudo grep -r duerqx /etc/
  • gsettings list-recursively | grep duerqx
斯蒂芬·奥斯特米勒

事实证明,此打印机未安装在系统的任何位置。这是Gnome自动发现我的Brother激光打印机(安装为HL4570CDW的打印机)。因此,最终同一台打印机在列表中显示两次(但在功能上仅出现一次)。

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.


要阻止程序在打印对话框中显示自动发现的打印机,您需要重新配置avahi守护程序服务,如如何禁用自动远程打印机安装的答复中所述

编辑/etc/avahi/avahi-daemon.conf,然后在[server]部分中添加enable-dbus=no然后重新启动avahi-daemon服务:sudo service avahi-daemon restart

像这样配置avahi后,即使该打印机可用于IPP,我也再也看不到该幽灵打印机。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

如何摆脱Gnome中的Ghost打印机?

来自分类Dev

摆脱幽灵打印机

来自分类Dev

如何在gnome-shell中添加打印机

来自分类Dev

如何在GNOME 3中更改打印机的名称?

来自分类Dev

如何在gnome-shell中添加打印机

来自分类Dev

如何在GNOME 3中更改打印机的名称?

来自分类Dev

17.04 Gnome会话中的打印机/作业列表

来自分类Dev

如何从网络中未安装系统的打印机中获取打印机?

来自分类Dev

如何在TSC打印机中打印图像

来自分类Dev

我该如何删除打印中的打印机图像?

来自分类Dev

如何移除打印机?

来自分类Dev

如何卸下打印机?

来自分类Dev

设置/设备/打印机中的打印机加倍

来自分类Dev

如何在Ubuntu 12.04中添加网络打印机?

来自分类Dev

如何使用PrintDocument从打印机中捕获错误?

来自分类Dev

如何从系统中未安装的网络获取打印机?

来自分类Dev

如何在Python中创建模拟打印机?

来自分类Dev

如何打印到实际打印机?

来自分类Dev

如何从打印机打印份数

来自分类Dev

在Awesomium中打印到打印机?

来自分类Dev

如何连接到WLAN打印机?

来自分类Dev

如何取消共享共享打印机?

来自分类Dev

如何通过终端安装打印机?

来自分类Dev

如何连接到WLAN打印机?

来自分类Dev

如何确定打印机使用的协议

来自分类Dev

如何获得打印机类别(类型)?

来自分类Dev

如何通过终端安装打印机?

来自分类Dev

如何创建气密打印机?

来自分类Dev

如何加快“获取打印机信息”?