Linux基础知识之配置CUPS通用打印机服务
企业需求:
配置CUPS通用打印机服务。
复习目标:
加深理解打印机原理:物理打印机、逻辑打印机、网络打印机,打印机优先级(1-99,优先级越高越优先),并且熟练掌握配置cups。
步骤:
1.配置CUPS打印机服务
[root@desktop31 ~]# system-config-printer 命令调用配置的图形界面

2.从图形界面调用
选择新建打印机

依据实际情况选择“串口”类型,或网络打印机,这里选择网络,下一步

选择通用。下一步

依据实际情况选择。这里作实验,选择仅文本。下一步

给个名字,local。下一步

配置好了。用root密码通过验证

显示刚配置好的local打印机

3.配置好以后,仍然可能右击“local”,修改配置选项、属性、查看打印队列,等等。

4.打印机的配置文件存储在服务器的:/etc/cups/printers.conf
5.命令行的一些基本操作:
提交打印作业
[root@desktop31 ~]# lp -d printe打印机名 file
[root@desktop31 ~]# lpr -P printe打印机名 file
查看已排作业
[root@desktop31 ~]# lpq -P printe打印机名
[root@desktop31 ~]# lpstat -p printe打印机名
选择待处理或删除作业
[root@desktop31 ~]# lprm -P jobs
6.测试:
7.验证:

相关推荐
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20
liuhangtiant 2020-10-20