LinuxSir.cn,穿越时空的Linuxsir!

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

如何安装打印机

[复制链接]
发表于 2007-3-2 11:05:58 | 显示全部楼层 |阅读模式
我的HP1000的打印机,安装了cups gnome-cups-manager 一些包,gnome的printer manager提示连接不到 cups服务器.

[root@Arch luo]# pacman -S cups libcups libgnomecups gtklp gnome-cups-manager
:: cups-1.2.8-1: is up to date.  Upgrade anyway? [Y/n] y
:: libcups-1.2.8-1: is up to date.  Upgrade anyway? [Y/n] y
:: libgnomecups-0.2.2-4: is up to date.  Upgrade anyway? [Y/n] y
:: gtklp-1.2.2-1: is up to date.  Upgrade anyway? [Y/n] y
:: gnome-cups-manager-0.31-4: is up to date.  Upgrade anyway? [Y/n] y

Targets: cups-1.2.8-1 libcups-1.2.8-1 libgnomecups-0.2.2-4 gtklp-1.2.2-1
         gnome-cups-manager-0.31-4

Total Package Size:   3.6 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
upgrading cups... done.
upgrading libcups... done.
upgrading libgnomecups... done.
upgrading gtklp... done.
upgrading gnome-cups-manager... done

[root@Arch luo]# pacman -S  foomatic-db-ppd
:: foomatic-db-ppd-20060411-2: is up to date.  Upgrade anyway? [Y/n] y

Targets: foomatic-db-ppd-20060411-2

Total Package Size:   9.4 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
upgrading foomatic-db-ppd... done.
发表于 2007-3-2 12:04:11 | 显示全部楼层
1.use CUPS
2.modprobe lp or usblp
3.HP1000.ppd
4.http://localhost:631
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-5 17:03:50 | 显示全部楼层
[ro[root@Arch luo]# pacman -R gnome-cups-manage
error: could not find gnome-cups-manage in database

[root@Arch luo]# pacman -R libgnomecups
removing libgnomecups... done.
[root@Arch luo]# modprobe usblpot@Arch luo]# pacman -R gnome-cups-manage libgnomecups
error: could not find gnome-cups-manage in database

[root@Arch luo]# pacman -R libgnomecups
removing libgnomecups... done.
#载入模块
[root@Arch luo]# modprobe usblp
#ppd文件
[root@Arch luo]# ls usr/share/cups/model/foomatic/ppd/HP/HP-LaserJet_1000*
/usr/share/cups/model/foomatic/ppd/HP/HP-LaserJet_1000-foo2zjs.ppd
/usr/share/cups/model/foomatic/ppd/HP/HP-LaserJet_1000-pbmtozjs.ppd

启动http://localhost:631
.出错!!

Server not found
Firefox can't find the server at localhost
    *   Check the address for typing errors such as
          ww.example.com instead of
          www.example.com

    *   If you are unable to load any pages, check your computer's network
          connection.

    *   If your computer or network is protected by a firewall or proxy, make sure
          that Bon Echo is permitted to access the Web.


问题出在什么地方?
回复 支持 反对

使用道具 举报

发表于 2007-3-5 18:09:48 | 显示全部楼层
cups的服务起动了么?

#/etc/rc.d/cups start
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-7 15:50:22 | 显示全部楼层
Post by leemars
cups的服务起动了么?

#/etc/rc.d/cups start


起动了,但WEB页还是打不开.
回复 支持 反对

使用道具 举报

发表于 2007-3-7 20:28:46 | 显示全部楼层
Post by rover
起动了,但WEB页还是打不开.

http://Arch luo:631
回复 支持 反对

使用道具 举报

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

本版积分规则

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