Printer

1.       网络打印机

2.       本地打印机

--图形配置打印机

#vim /etc/sysconfig/i18n

LANG=“en_CN.UTF-8”

#system-config-printer

1.       添加新打印机

 

41-1

 

2.       选择接口类型

 

41-2

Lpt 并口打印机

Serial port 串口打印机(连接9针的端口)

3.       打印机类型

 

41-3

 

41-4

 

型号不支持 、不被内核支持,需要安装驱动程序

4.       本地打印机(默认、共享(samba))

策略等

 

41-5

 

 

[root@localhost ~]# chkconfig --list |grep cups--cups打印机的一种服务程序要确保是打开的

#vim /etc/cups   --存放printer的配置

[root@localhost ~]# vim /etc/cups/printers.conf

# Printer configuration file for CUPS v1.3.7

# Written by cupsd on 2011-10-05 14:19

<Printer printer-test>

Info hp

Location tec

DeviceURI parallel:/dev/lp0

State Idle

StateTime 1317838793

Accepting Yes

Shared Yes

JobSheets none none

QuotaPeriod 0

PageLimit 0

KLimit 0

OpPolicy default

ErrorPolicy stop-printer

</Printer>

 

 

#cat /etc/passwd |lpr

--送给打印机打印材料

#lpq

--显示打印队列

 

#lprm 6       --6是打印作业号

--删除打印作业