第21章 与网络打印机通信

Linux下设置网络打印机


一、在服务器端
1管理平台上http://127.0.0.1:631
1.1 Administration->SERVER->Basic Server Setting勾选
√Show printers shared by other systems(这一句是说,显示在其它电脑下的共享打印机,不需要可以不勾)
√Share published printers connected to this system(这一句是说共享你的打印机)
√Allow printing from the Internet(这一句是说允许来看互联网的打印)


1.2 Printers-><打印机名>->SetAllowedUsers设置黑名单(不允许这些用户打印)
填入不会使用到的用户名
选中Prevent these users from printing


2 修改/etc/cups/cupsd.conf
2.1备份原有文件
#su


#cd /etc/cups
#cp cupsd.conf cupsd.conf.0
#gedit cupsd.conf
以下为修改的内容
......
<Location />
Order allow,deny
Allow localhost
Allow From xxx.xxx.xxx.* #增加这一句设置允许打印的机器的网段范围
</Location>
......


二、客户端
设置网络打印机
地址:http://网络打印机的IP地址:631/printers/<打印机名>
驱动:安装打印机的本地打印驱动


附:
1、如何得到打印机名?
通过浏览器取得,访问http://网络打印机的IP地址:631/printers/,会列出打印机名。


2、如何得到网络打印机地址?
通过浏览器取得,访问http://网络打印机的IP地址:631/printers/。
选中打印机后,浏览器地址栏中的地址就是网络打印机的地址。
3、virtualbox下如何配置网络打印机?
看这里:http://blog.sina.com.cn/s/blog_538bb1f80100l4sq.html
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值