Linux下设置网络打印机
(最后更新日期:2010-09-18)
一、在服务器端
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
以下为修改的内容
......
/>
Order
allow,deny
Allow
localhost
Allow
From xxx.xxx.xxx.* #增加这一句设置允许打印的机器的网段范围
......
二、客户端
设置网络打印机
地址:http://网络打印机的IP地址:631/printers/
驱动:安装打印机的本地打印驱动
附:
1、如何得到打印机名?
通过浏览器取得,访问http://网络打印机的IP地址:631/printers/,会列出打印机名。
2、如何得到网络打印机地址?
通过浏览器取得,访问http://网络打印机的IP地址:631/printers/。
选中打印机后,浏览器地址栏中的地址就是网络打印机的地址。
3、virtualbox下如何配置网络打印机?