存档

‘Hardware under Linux / Unix’ 分类的存档

[ZT]HP P2015n 在CUPS上的配置

2009年7月22日 Galaxy 6 条评论

http://hi.baidu.com/wrxzzj/blog/item/59b303b10ca1045108230240.html
HP P2015 在CUPS上的配置
2008年05月09日 星期五 13:54
公司的打印机,全称是HP LaserJet P2015 Series PCL 5e,由于不是window共享的打印机,所以也不能用samba的那一套方法了。而是采用JetDirect的连接方式,JetDirect是一套网络打印机规范,端口为9100。首先下载cups-1.4 源码包,编译配置如下:
./configure –prefix=/usr –sysconfdir=/etc –enable-raw-printing –with-cups-user=root –with-cups-group=lp –localstatedir=/var
编译安装后,你就可以用cups来打印文件了。
注意:在安装CUPS之前,最好先把foomatic 一套包都安装上去。
然后,你在http://localhost:631的web 配置界面里,直接可以用Find Printer 让CUPS自己发现网络上P2015 打印机。先选择HP 打印机生产商,然后在产品里选择HP LaserJet 1320 series Postscript。因为HP P2015就是1320这个型号的,在它的产品列表里,你发现根本就没有P2150这个系列的。
阅读全文…

Locations of visitors to this page