当我尝试从Gnome应用程序进行打印时,“打印”对话框列出了无法正常工作的打印机。它被称为“ duerqxesz5090-地下室杂物间-拒绝工作”。这是Gnome打印对话框的屏幕截图:
我如何找出该不存在的打印机在系统上列出的位置并将其删除?
我尝试在不同的地方搜索它,但是这些都不返回任何结果:
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] 删除。
我来说两句