老生常谈,使用HPLIP连接HP网络打印机的问题
Tofloor
poster avatar
ls929931823
deepin
2017-02-21 23:24
Author
本帖最后由 ls929931823 于 2017-2-21 15:31 编辑

电脑出故障了,弃了三个月的DEEPIN。最近新I7电脑上重整了15.3系统,漫长的更新之后,终于到了桌面。
本单位是使用HP网络打印机,配置了10.10.102.200地址。
使用“打印机设置”里添加HP1213,采用HPLIP连接,打印不出来。
终端命令下运行HP-SETUP,扫描里也能发现HP1213,但配置到最后一步出现:

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

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.

Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
Traceback (most recent call last):
  File "/usr/share/hplip/ui5/setupdialog.py", line 1302, in NextButton_clicked
    self.showAddPrinterPage()
  File "/usr/share/hplip/ui5/setupdialog.py", line 728, in showAddPrinterPage
    self.readwriteFaxInformation()
  File "/usr/share/hplip/ui5/setupdialog.py", line 1097, in readwriteFaxInformation
    d = fax.getFaxDevice(self.fax_uri, disable_dbus=True)
  File "/usr/share/hplip/fax/fax.py", line 534, in getFaxDevice
    return MarvellFaxDevice(device_uri, printer_name, callback, fax_type, disable_dbus)
  File "/usr/share/hplip/fax/marvellfax.py", line 91, in __init__
    sendfax_a_path = os.readlink(sendfax_path+"/hp-sendfax")
FileNotFoundError: [Errno 2] 没有那个文件或目录: '/hp-sendfax'
已放弃
---------------------------------------------------------------
依旧无法正常打印。HPLIP不是说支持几千种打印驱动么?
但出现这提示是什么问题?请大神指教!

用hp-check检查结果
Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.16.10



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hpfax:/net/HP_LaserJet_Professional_M1213nf_MFP?ip=10.10.102.200

[installation]
date_time = 02/21/17 15:28:40
version = 3.16.10


<ackage-name>        <ackage-Desc>          

---------------------
| Python Extentions |
---------------------

cupsext              CUPS-Extension                                               REQUIRED        -               3.16.10         OK         -
hpmudext             IO-Extension                                                 REQUIRED        -               3.16.10         OK         -

--------------
| COMPILEDEP |
--------------

error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.1             OK         -
error: gcc           gcc - GNU Project C and C++ Compiler                         REQUIRED        -               6.2.0           MISSING    'gcc needs to be installed'

-------------------------
| External Dependencies |
-------------------------

error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
error: avahi-utils   avahi-utils                                                  OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'
error: dbus          DBus - Message bus system                                    REQUIRED        -               1.10.12         MISSING    'DBUS may not be installed or not running'
network              network -wget                                                OPTIONAL        -               1.18            OK         -
error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.19            OK         -
error: scanimage     scanimage - Shell scanning program                           OPTIONAL        1.0             -               MISSING    'scanimage needs to be installed'

----------------------
| Scan Configuration |
----------------------

'/etc/sane.d/dll.d/hpaio' not found.
hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.16.10         OK         'hpaio found in /etc/sane.d/dll.conf'
scanext              Scan-SANE-Extension                                          REQUIRED        -               3.16.10         OK         -

------------------------
| General Dependencies |
------------------------

error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
python3-xml          Python XML libraries                                         REQUIRED        -               2.2.0           OK         -
libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.24'         OK         -
error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.0           OK         -
error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.5.2           MISSING    'python3-devel needs to be installed'
error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.5.2           OK         -
python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.3.0           OK         -
python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.4           OK         -
error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'



LINUX下打印太纠结了!


Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-02-21 23:45
#1
Reply View the author
avatar
ls929931823
deepin
2017-02-22 17:34
#2
https://bbs.deepin.org/post/135131
https://bbs.deepin.org/post/34749

看过,依旧无法解决 。HPLIP-TOOL-BOX压根都调不出来。
Reply View the author
avatar
ls929931823
deepin
2017-02-22 17:47
#3
后来安装了HPLIP—GUI,重启好,在右下角显示了HP托盘图标,在那里配置成功打印了。
Reply View the author
avatar
leixiaozeng
deepin
2017-02-22 18:11
#4
https://bbs.deepin.org/post/135131
后来安装了HPLIP—GUI,重启好,在右下角显示了HP托盘图标,在那里配置成功打印了。 ...

其实论坛里早就有用HPLIP-GUI的解决方法了,我也一直在这么用,基本上HP打印机都没啥问题,你可以搜索一下,就知道了。
Reply View the author