ubuntu架设为打印服务器(HP LaserJet 1020为例)



实验室有好几个人,但是只有一台打印机(HP LaserJet1020),之前又没有常开的服务器,所以就是每个人要用的时候插一下。现在虽然弄了一个老机子当服务器,但好歹可以当当打印服务的吧~

之前一直没有成功,原因至今也不睡特别确定,但是今天刚好看到鸟哥的书上说到要装PPD的打印服务的。记得上次没有装这个就重新试了一下。注意安装是要联网的。

打印驱动的网址:http://hplipopensource.com/hplip-web/install/install/index.html

好像就是之前惠普官方的工程师发给我的那个。除了Ubuntu,其他的Linux系统也是可以安装的,比如CentOS和其他。下载的时候还跳出一个网页,

http://hplipopensource.com/node/327

http://jaist.dl.sourceforge.net/project/hplip/hplip/3.14.10/hplip-3.14.10.run.asc

好像是一个证书文件,但是之后并没有用到。

驱动的安装方法在下载完成后的页面中有详细的每一步的解释。甚至告诉你CD是什么意思...这种公司也是把我看醉了,国人做事要是也能这样,能节省多少大家沟通的时间啊!

注意,安装的过程中有很多的选择要输入,最后会问是要重启继续安装还是插拔打印机什么的(如果没有这步的话就和我之前一样了,能看到打印机但是不能用)。这步之后就是自动从惠普网站上下载PPD服务。安装好了之后基本上就算可以用了,不用教了吧。

测试页比win的好看太多了

 

 

截止目前算是可以打印了,但是要做到网络打印的话还要装一个cups服务(苹果公司出的,感觉好神奇)

sudo apt-get install cups

 

安装好这个服务后ubuntu下浏览器打开127.0.0.1:631勾选图中三项,注意特别是use K什么什么的那个千万不要选,这个会通过证书提高你的打印机的安全性,但是目前没弄清楚这个证书怎么安装。如果你不小心手贱了的话,再修改设置就会提示“请输入您的用户名称和密码或者root 用户的用户名称和密码来访问此页面。如果您正在使用Kerberos 鉴定,请确定您拥有Kerberos 票据是有效的。”很麻烦了,我用的方法是复原设置,即修改/etc/cups/cupsd.conf文件为原来的文件,网页上有的哦 复制默认设置覆盖上述文件的内容就好了 没找到的话评论留联系方式,我再详细告诉你吧

另外测试的时候还发现一个很重要的问题,就是一般在win上,一台电脑装了打印机共享之后,其他电脑是自动装驱动的,但是ubuntu当服务器的话并不能如此,需要win上面自备驱动的。

安装后,根据你服务器的IPIE下打开CUPS服务的主页,点Printers,再打开你打算用的那台打印机:

 

打开后网址就是打印机的位置,

 

之后到win下添加网络打印机,你会发现找不到,点我需要的不在列表中,自己把网址复制粘贴进去就好了

 

之后会找驱动,并提示你选择,这个时候如果你找不到自己的打印机的驱动的话,就要面壁了,之前说过win上的驱动是要自备的,你需要去官网上下载你的打印机的win的驱动安装好!

之后就是下一步下一步打印测试页了~

再啰嗦一句,ubuntu的测试页远远比win的好看啊!

 

  • 1
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
资源分为10份,此为第10份文件,包含以下打印机PPD文件: hp-photosmart_b8500_series hp-photosmart_c309a_series hp-photosmart_c3100_series hp-photosmart_c4100_series hp-photosmart_c4200_series hp-photosmart_c4340_series hp-photosmart_c4380_series hp-photosmart_c4400_series hp-photosmart_c4500_series hp-photosmart_c4600_series hp-photosmart_c4700_series hp-photosmart_c5100_series hp-photosmart_c5200_series hp-photosmart_c5300_series hp-photosmart_c5500_series hp-photosmart_c6100_series hp-photosmart_c6200_series hp-photosmart_c6300_series hp-photosmart_c7100_series hp-photosmart_c7200_series hp-photosmart_c8100_series hp-photosmart_d110_series hp-photosmart_d5060_series hp-photosmart_d5100_series hp-photosmart_d5300_series hp-photosmart_d5400_series hp-photosmart_d6100_series hp-photosmart_d7100_series hp-photosmart_d7200_series hp-photosmart_d7300_series hp-photosmart_d7400_series hp-photosmart_d7500_series hp-photosmart_estn_c510_series hp-photosmart_ink_adv_k510 hp-photosmart_p1000 hp-photosmart_p1100 hp-photosmart_plus_b209a-m hp-photosmart_plus_b210_series hp-photosmart_prem-web_c309n-s hp-photosmart_prem_c310_series hp-photosmart_prem_c410_series hp-photosmart_premium_c309g-m hp-photosmart_pro_b8300_series hp-photosmart_pro_b8800_series hp-photosmart_wireless_b109n-z hp-printer_scanner_copier_300 hp-psc_1000_series hp-psc_1100_series hp-psc_1200_series hp-psc_1300_series hp-psc_1310_series hp-psc_1358_series hp-psc_1400_series hp-psc_1500_series hp-psc_1600_series hp-psc_2100_series hp-psc_2150_series hp-psc_2170_series hp-psc_2200_series hp-psc_2210_series hp-psc_2300_series hp-psc_2350_series hp-psc_2400_series hp-psc_2500_series hp-psc_500 hp-psc_720 hp-psc_750 hp-psc_750xi hp-psc_760 hp-psc_780 hp-psc_780xi hp-psc_900_series hp-psc_920 hp-psc_950 hp-psc_950vr hp-psc_950xi hp-smart_tank_350_series hp-smart_tank_500_series hp-smart_tank_510_series hp-smart_tank_530_series hp-smart_tank_610_series hp-smart_tank_plus_550_series hp-smart_tank_plus_570_series hp-smart_tank_plus_650_series hp-smart_tank_wireless_450_series hp-tango

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值