如何安装Debian HP打印机?

Debian-Like

1 前言

一个问题,一篇文章,一出故事。
笔者的Debian笔记本需要安装HP的打印机,于是整理此文。

2 最佳实践

2.1 确认打印机能正常通讯

ping 10.168.0.11

2.2 安装HP套件包

apt install hplip

2.3 使用自动交互模式设置打印机

hp-setup -i --auto 10.168.0.11

可见如下显示,

HP Linux Imaging and Printing System (ver. 3.21.2)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 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.


Setting up device: hp:/net/HP_LaserJet_M101-M106?ip=10.168.0.11



---------------------
| PRINT QUEUE SETUP |
---------------------

Using queue name: HP_LaserJet_M101-M106
Locating PPD file... Please wait.

Found PPD file: hplip:0/ppd/hplip/HP/hp-laserjet_m101-m106.ppd
Description: 

Adding print queue to CUPS:
Device URI: hp:/net/HP_LaserJet_M101-M106?ip=10.168.0.11
Queue name: HP_LaserJet_M101-M106
PPD file: hplip:0/ppd/hplip/HP/hp-laserjet_m101-m106.ppd
Location: 
Information: HP LaserJet M101-M106 Device (Automatically setup by HPLIP)


---------------------
| PRINTER TEST PAGE |
---------------------

warning: hp-testpage should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.21.2)
Testpage Print Utility ver. 6.0

Copyright (c) 2001-18 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.

Printing test page to printer HP_LaserJet_M101-M106...
request id is HP_LaserJet_M101-M106-2 (1 file(s))
Test page has been sent to printer.

note: If an error occured, or the test page failed to print, refer to the HPLIP website
note: at: http://hplip.sourceforge.net for troubleshooting and support.


Done.

Done.

参阅文档
=====================

官方安装页面
—————-
https://support.hp.com/cn-zh/product/hp-laserjet-pro-m104-printer-series/9365395
https://support.hp.com/cn-zh/document/c04248499

HP 安装套件下载
—————-
https://developers.hp.com/hp-linux-imaging-and-printing/gethplip
https://developers.hp.com/hp-linux-imaging-and-printing/

HP 安装套件的使用方法
—————-
https://developers.hp.com/hp-linux-imaging-and-printing/install/install/index

没有评论

发表评论

Debian-Like
如何编译安装Debian tigervnc?

1 前言 一个问题,一篇文章,一出故事。 笔者使用默认安装的Debian Tigervnc感觉不够完 …

Debian-Like
如何安装Debian 11抓屏tigervnc?

1 前言 一个问题,一篇文章,一出故事。 笔者需要查看远程Debian的远程电脑操作屏幕,于是安装非 …

Debian-Like
如何安装Debian 11标准tigervnc?

1 前言 一个问题,一篇文章,一出故事。 笔者需要远程Debian的远程电脑,于是安装标准版本的VN …