LinuxSir.cn,穿越时空的Linuxsir!

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

How to configure CUPS

[复制链接]
发表于 2004-8-7 21:18:39 | 显示全部楼层 |阅读模式
Hi, all, I want to configure my printer connected directly to the
parallel port using CUPS. However, 'lpinfo -v'
didn't show 'direct parallel:/dev/lp0' as CUPS manual said.
What's wrong and what can I do? Thx.
发表于 2004-8-7 21:32:03 | 显示全部楼层
1      service cups start
2      redhat-config-printer
 楼主| 发表于 2004-8-7 22:24:01 | 显示全部楼层
Thanks, but I am not using redhat. It is slackware 10
发表于 2004-8-7 22:51:40 | 显示全部楼层
用root身份,运行 /etc/rc.d/rc.cups start ,即可启动cups打印服务。用浏览器访问 http://localhost:631/ 即可对cups和打印机进行设置,详情请看cups的文档。
请参考:
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=56134
发表于 2004-8-7 23:15:37 | 显示全部楼层
keke
 楼主| 发表于 2004-8-8 03:52:24 | 显示全部楼层
Thanks, all. I solved the problem. By default, Slackware 10.0
doesn't probe the parallel port. To solve it, we just need to
uncomment the parallel port and printer probing section in
/etc/rc.d/rc.modules. Thanks aaccdd, your link show me a good
reference in learning linux.
 楼主| 发表于 2004-8-13 02:43:21 | 显示全部楼层
One more thing to be noticed about CUPS printing in Slackware Linux.
Since LPrng is the default printer service in it, the printing
commands lp, lpr, lprm lpq etc. should be checked if the LPrng is
installed other than CUPS. They should be linked to lp-cups, lpr-cups,
lprm-cups, lpq-cups etc.. After configuring the CUPS service, if only
test page printed well, the links will need reset in most of the cases.
发表于 2004-8-13 08:58:06 | 显示全部楼层
这里早就有了:
http://www.linuxsir.cn/forum.php ... 15&pagenumber=1

最简单的是先removepkg lprng,再 installpkg cups,这样就能自动解决符号链接的问题了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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