kali kda安装 linux_linux安装usb打印机(HP LaserJet 1020)驱动

本文指导如何在Kali Linux环境下安装HP LaserJet 1020的打印机驱动。首先从链接下载驱动,然后解压并进入目录。接着编译和安装驱动,通过运行特定的`./getweb`命令获取所需文件。安装完成后,配置hotplug(针对USB连接的HP LJ 1000/1005/1018/1020),并根据操作系统使用CUPS重启spooler。最后,创建打印机队列并设置设备选项,完成配置后需要重新插拔打印机电源。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Click the link, or cut and

paste the whole command line below to download the

driver.

Now unpack it:

Unpack:

$ tar zxf foo2zjs.tar.gz

$ cd foo2zjs

Now compile and install it. The INSTALL file

contains more detailed instructions; please read it now.

只需要输入:./getweb 1020

Compile:

$ make

Get extra files from the web, such as .ICM profiles for color correction,

and firmware. Select the model number for your printer:

$ ./getweb cpwl # Get Minolta Color PageWorks/Pro L .ICM files

$ ./getweb 2200 # Get Minolta 2200 DL .ICM files

$ ./getweb 2300 # Get Minolta 2300 DL .ICM files

$ ./getweb 2430 # Get Minolta 2430 DL .ICM files

$ ./getweb 1000 # Get HP LaserJet 1000 firmware file

$ ./getweb 1005 # Get HP LaserJet 1005 firmware file

$ ./getweb 1018 # Get HP LaserJet 1018 firmware file

$ ./getweb 1020 # Get HP LaserJet 1020 firmware file

$ ./getweb 1025 # Get HP LaserJet Pro CP1025nw .ICM files

Install driver, foomatic XML files, and extra files:

$ su  OR $ sudo make install

# make install

(Optional) Configure hotplug (USB; HP LJ 1000/1005/1018/1020):

# make install-hotplug OR $ sudo make install-hotplug

(Optional) If you use CUPS, restart the spooler:

# make cups OR $ sudo make cups

Now

create printer entries for your spooler. Create at least one queue

for monochrome, and another queue for color printing. Create the

queues first, then edit them and set the device options as desired.

See your operating system documentation for further details on

creating a printer queue. Click any hyperlinks below for sample

screenshots.

For Redhat 7.2/7.3/8.0/9.0 and Fedora Core 1-5 users:

$ sudo gnome-cups-manager

$ sudo make cups # IMPORTANT: gnome-cups-manager has a BUG in it

For Debian 3.x, 4.x, and other systems that use CUPS

http://localhost:631

# lpadmin -p "NAME" -v "URI" -E -P /usr/share/cups/model/file.ppd.gz

# lpadmin -d "NAME" # Set the default

最后配置完打印机电源重新插拔。

window连接linux下的usb打印机

输入正确的URI地址

CUPS打印机一般是

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值