kernel:kernel-image-2.6.0-test4-1-386
1、加载module
#modprobeusblp
2、测试打印机
#cattxtfile>/dev/usb/lp0
输出一个文本文件来测试打印机
3、安装CUPS
#apt-getinstallcupsys
4、使用mozilla访问http:\\localhost:631配置打印机
其中
Device:USBPrinter#1
MAKE:HP
Model:HPLaserJetSeries
5、检查打印机
#lpq
hplj1010isready
noentries
OpenOffice的打印设置可以直接找到CUPS的打印队列;
Mozilla打印需要安装xprt-xprintorg;依赖xprt-xprintorg输出ps文件到打印机,检查/etc/init.d/xprint会搜索目录:/usr/X11R6/lib/X11/fonts/下的字体,所以建立simsun的fonts.dir等相关文件,最后重新启动xprint即可
下载本文示例代码
阅读(468) | 评论(0) | 转发(0) |