ubuntu16.04添加网络打印机报错

1、首先报错
cups client error document format not supported

谷歌了尝试了一大堆解决方法没有用。

尝试从local:6300配置也无果。

大部分回答建议修改 .conf文件。
或者reinstall cups or restart cups.

后来看到https://bbs.archlinux.org/viewtopic.php?id=108145建议说

I also had to install foomatic-filters & ghostscript too ....

The printer is perfect now.

I am going to be writing a noobies how to for Arch & Openbox soon ......

于是安装这两个包:

sudo apt-get install foomatic-filters
sudo apt-get install ghostscript

得,连添加打印机都添加不了,又出现新错误:
'server-error-internal-error'

http://localhost:631都打不开了

猜测新安装的包损坏了原有的CUPS。

重新安装CUPS,成功!!

2、总结:

sudo apt-get install foomatic-filters
sudo apt-get install ghostscript

sudo apt-get install cups --reinstall
sudo service cups restart

sudo /etc/init.d/cups restart

3、Reference
https://askubuntu.com/questions/994094/i-get-a-cups-server-error-server-error-internal-error-when-i-try-to-connect-a
https://answers.launchpad.net/ubuntu/+source/cups/+question/64845
https://bbs.archlinux.org/viewtopic.php?id=108145
https://askubuntu.com/questions/898786/cant-install-printer-cups-problem

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,833评论 19 139
  • Getting Started Use the Current Stable Version (7.1) Buil...
    Leonzai阅读 5,979评论 0 3
  • 背景: 阅读新闻 12C CDB模式下RMAN备份与恢复 [日期:2016-11-29] 来源:Linux社区 作...
    阳屯okyepd阅读 9,023评论 0 7
  • 最近,有朋友向我咨询一个问题:家有四套房,自己住一套,老公有工作,孩子也大了,自己家里呆,租金二十万,该不该去工作...
    边缘上的沉思阅读 8,664评论 10 14
  • 二0一六年十二月六日,他说:他喜欢我,然后我就和他在一起了。“无了解,那就边谈恋爱边了解吧”我这样想。 ...
    chen_xbd阅读 1,486评论 1 1

友情链接更多精彩内容