惠普印表機安裝,啟動新印表機,如何

惠普印表機安裝,啟動新印表機,如何

好吧,我有新的惠普印表機,這就是發生的事情(到目前為止)

預先安裝了 HPLIP 3.17.7,嘗試安裝 3.17.11,但存在依賴性問題,因此我將其保留為原樣,因為它並不是真正必要的。我解壓,鏈接到wifi並通過HPLIP工具箱安裝(首先通過USB,然後通過WiFi添加)

一切都工作正常(當時),除了:

設備下方安裝了 2 台印表機(名稱略有不同)和一台傳真機,而 HPLIP 工具箱下僅安裝了 1 台印表機和 1 台傳真機。

我嘗試刪除它們並重新安裝它們(這兩台印表機似乎不正確)。但今天早上我發現只剩下一台印表機了,hplip工具箱下的兩台都不見了。

我還發現發送作業時印表機沒有喚醒,但當我手動啟動印表機時它確實進行了列印。

我嘗試透過 hplip 工具箱重新安裝印表機,但忘記取出 USB,所以一切正常,但透過 USB 而不是 wifi。同時,我也嘗試掃描..(大部分)有效,但當然也可以透過USB。

現在我拿走了 USB,我發現設備下只有一台印表機,但我似乎無法使用 hplip 來找到印表機(當設定正常運作時),而且在 xsane 下也找不到掃描器。

不管怎樣,我很想開始一個新的。

為此,我相信我應該:重置印表機。
刪除 ubuntu 中印表機的所有「實例」。
我想實際安裝 hplip 3.17.11

但最後 2 個我遇到了問題:
因為即使在印表機電源關閉的情況下,如果我將其刪除,最後剩下的印表機也會回來。我在設備和杯子中嘗試過!

關於hplip版本我有疑問,hp告訴我添加了對17.10 64位的支持,但為什麼ubuntu 17.10然後附帶3.17.7。而且印表機本身其實並不需要它。

我嘗試安裝時遇到的錯誤如下。

RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all 
REQUIRED dependencies are not installed and some of the HPLIP features 
will not work if OPTIONAL dependencies are not installed.
Package-Name         Component            Required/Optional   
libcrypto            network              REQUIRED            
libnetsnmp-devel     network              REQUIRED            
sane-devel           scan                 REQUIRED            
pyqt4-dbus           gui_qt4              REQUIRED            
cups-devel           base                 REQUIRED            
reportlab            fax                  OPTIONAL            
cups-image           base                 REQUIRED            
python-notify        gui_qt4              OPTIONAL            
libjpeg              base                 REQUIRED            
dbus                 fax                  REQUIRED   

Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y


INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common 
Unix Printing System development files)
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)
warning: Missing REQUIRED dependency: libcrypto (libcrypto - OpenSSL cryptographic library)
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing REQUIRED dependency: pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)
warning: Missing REQUIRED dependency: dbus (DBus - Message bus system)
warning: Missing REQUIRED dependency: sane-devel (SANE - Scanning library development files)


INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'gui_qt4': python-notify (Python libnotify - Python bindings for the libnotify Desktop notifications)
warning: Missing OPTIONAL dependency for option 'fax': reportlab 
(Reportlab - PDF library for Python)


CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.


RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes libcups2-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes libcups2-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes libcups2-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes libcups2-dev'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? 

另外

# hp-scan -g

HP Linux Imaging and Printing System (ver. 3.17.7)
Scan Utility ver. 2.2

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.

hp-scan[3467]: debug: getDeviceUri(None, None, ['hpaio'], {'scan- type': (<built-in function gt>, 0)}, , True)
hp-scan[3467]: debug: Mode=0
error: No device selected/specified or that supports this functionality.

不管怎樣,我非常感謝所有這些方面的幫助。

答案1

好吧,現在我似乎已經透過以下方式解決了這個問題:

1) 將印表機重設為原廠設定 2) 將 ubuntu 更新至最新版本(仍為 17.10)但全新安裝

# sudo do-release-upgrade -d

hplip:
  Installed: 3.17.10+repack0-4
  Candidate: 3.17.10+repack0-4
  Version table:
 *** 3.17.10+repack0-4 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

相關內容