Ubuntu16.04配置网络打印机

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/renhaofan/article/details/82632793

配置过程

syetem-settings-printer
这里写图片描述
因为实验室是HP的驱动,所以就直接点击第一个,然后就一路往下,就可以了,驱动他也会默认帮你选好的.

问题

ip

我在第一次配置的时候需要填打印机的ip,我是在师兄windows下,查看的,师兄已经配置好了打印机,windows输入ipconfig然后ipv4对应的ip就是打印机的ip

There was an error during the CUPS operation: ‘client-error-not-possible’.

在fedora下原因是这样:
通过查看 /var/log/cups/error_log日志并查看samba packages 就会发现缺少“samba-client”
我按照这里

sudo apt-get install samba-client
systemctl restart cups.service

执行第一条命令的时候,会出现这个,这是因为可能那个包在ubuntu下是smbclient,直接按回车就好了

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'smbclient' instead of 'samba-client'
The following additional packages will be installed:
  libsmbclient libwbclient0 python-samba samba-common samba-common-bin
  samba-libs
Suggested packages:
  heimdal-clients
The following NEW packages will be installed:
  smbclient
The following packages will be upgraded:
  libsmbclient libwbclient0 python-samba samba-common samba-common-bin
  samba-libs
6 upgraded, 1 newly installed, 0 to remove and 82 not upgraded.
Need to get 7,207 kB of archives.
After this operation, 1,502 kB of additional disk space will be used.
Do you want to continue? [Y/n] 

猜你喜欢

转载自blog.csdn.net/renhaofan/article/details/82632793