LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 775|回复: 2

打印机并口可以打印,而通过USB则不能,请教

[复制链接]
发表于 2005-12-23 07:59:09 | 显示全部楼层 |阅读模式
先说一下情况:
一台PII的机子,安装了CentOS4.2。
一台Epson打印机,型号为Stylus Photo EX3,支持并口与USB接口。

打印机套间为
[root@print1 cups]# rpm -qa |grep cups ; rpm -qa|grep foo
cups-1.1.22-0.rc1.9.8
cups-libs-1.1.22-0.rc1.9.8
hal-cups-utils-0.5.2-8
cups-devel-1.1.22-0.rc1.9.8
Omni-foomatic-0.9.1-7.1
foomatic-3.0.2-3

在/etc/cups/cupsd.conf添加了允许网络内其他机子通过631端口配置打印机的参数。
Allow From 192.168.1.0/24
Allow From 192.168.1.0/24 \\上面的这句不在同一个地方的
#Listen 127.0.0.1:631
Port 631

然后在firefox里打入http://ip/631
输入用户名,密码。
配置并口打印机,成功。
配置USB打印机,失败。

贴出printers.conf
# Printer configuration file for CUPS v1.1.22rc1
# Written by cupsd on Fri 23 Dec 2005 07:36:45 AM CST
<rinter EX3>
Info Epson Stylus Photo EX3
Location print1.zonsun.com
DeviceURI usb:/dev/usb/lp0
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<DefaultPrinter EX3_p>
Info Epson Stylus Photo EX3
Location print1.zonsun.com
DeviceURI parallel:/dev/lp0
State Stopped
StateMessage Paused
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
 楼主| 发表于 2005-12-23 08:00:53 | 显示全部楼层
[root@print1 cups]# lsusb
Bus 001 Device 004: ID 04b8:0005 Seiko Epson Corp. Stylus Printer
Bus 001 Device 001: ID 0000:0000

[root@print1 cups]# cat /proc/devices
Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  6 lp
  7 vcs
10 misc
13 input
29 fb
36 netlink
128 ptm
136 pts
162 raw
180 usb

Block devices:
  1 ramdisk
  2 fd
  9 md
22 ide1
253 device-mapper
254 mdp
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-23 08:02:10 | 显示全部楼层
[root@print1 cups]# lsmod
Module                  Size  Used by
usblp                  13505  0
md5                     4033  1
ipv6                  234881  10
parport_pc             24577  1
lp                     12077  0
parport                37129  2 parport_pc,lp
dm_mirror              27824  0
dm_mod                 56661  1 dm_mirror
uhci_hcd               31065  0
via_rhine              23113  0
mii                     4673  1 via_rhine
floppy                 58481  0
ext3                  116809  7
jbd                    71385  1 ext3
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表