Kali 安装HP p1505打印机驱动

KALI2 2019.3版本安装HP p1505打印机驱动

 

1 安装 CUPs
apt-get install cups cups-client foomatic-db foomatic-db-engine
service samba stop
service cups restart
service samba start

 

这时候在打印机设置里面能够找打打印机,能识别,也能添加但不能用。

2、下载hplib

我是在sourceforge的镜像站点下载的  hplip-3.17.10.run  ,高版本的在KALI上安装有点问题。

http://sourceforge.mirrorservice.org/h/hp/hplip/hplip/3.17.10/hplip-3.17.10.run

也可在这里下载

https://sourceforge.net/projects/hplip/files/hplip/

下载plugins,这个P1505的打印机必须下载插件,有些不要,注意插件的版本要和hplip版本一致

https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.17.10-plugin.run

https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.17.10-plugin.run.asc

 

Linux下支持的打印机如下:

https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index

 

hplib的版本与UBUNTU的对应关系如下:

trusty (14.04LTS) (utils): 3.14.3-0ubuntu3.4
xenial (16.04LTS) (utils): 3.16.3+repack0-1
bionic (18.04LTS) (utils): 3.17.10+repack0-5
cosmic (18.10) (utils): 3.18.7+dfsg1-2ubuntu2  
disco (19.04) (utils): 3.19.1+dfsg0-1: all 

3、安装

sudo chmod +x hplip-3.17.10.run

./hplip-3.17.10.run

按照提示输入,

自动完成   ./configure 

make

make install 等

这个装好后就安装插件

插件也可通过HP Device Manager安装,但有时会出错,命令行模式靠得住。

sudo /usr/bin/hp-plugin -i    按提示操作即可

 

 

 

 

kali@kali:~/Downloads$ sudo /usr/bin/hp-plugin -i

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: It is not recommended to run 'hp-plugin' in a root mode.

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


------------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.17.10 |
------------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recommended)            
  p           Specify a path to the plug-in (advanced)          
  q           Quit hp-plugin (skip installation)                

Enter option (d=download*, p=specify path, q=quit) ? p
Enter the path to the 'hplip-3.17.10-plugin.run' file (q=quit) :  (hplip-3.17.10-plugin.run 在当前路径下直接回车)

---------------
| COPY PLUGIN |
---------------

Downloading plug-in from: file:///home/kali/Downloads/hplip-3.17.10-plugin.run
Downloading plug-in: [\                                   ] 0%  1100%Receiving digital keys: /usr/bin/gpg --homedir /root/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
()

----------------------
| INSTALLING PLUG-IN |
----------------------

Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.17.10 Plugin Self Extracting Archive................................................

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Installer ver. 3.0

Copyright (c) 2001-15 HP Development Company, LP

 

安装完后用HP Device Manager安装好打印机即可。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值