如何安装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
如何安装Ubuntu的日志服务?

1 前言 一个问题,一篇文章,一出故事。 笔者今天发现Ubuntu默认找不到系统日志,需要额外安装, …

Debian-Like
如何Ubuntu编译安装openSSL?

1 基础知识 OpenSSL是一个开放源代码的软件库包,应用程序可以使用这个包来进行安全通信,避免窃 …

Debian-Like
如何配置Ubuntu国内APT安装源?

1 前言 一个问题,一篇文章,一出故事。 本章将解决Ubuntu系统从国内源安装或者更新的问题。 2 …