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

你可能感兴趣的:(ubuntu16.04添加网络打印机报错)