sudo hp-setup
error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
Funemotoha scritto:Mi scuso, la versione di Ubuntu è proprio la 16.04.
In ogni caso, ho provato a dare il comando suggerito da magozurlinux, tuttavia vengono fuori alcuni errori.
- Codice: Seleziona tutto
error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
sudo apt-get install hplip-gui
dpkg -l | grep hplip
~$ dpkg -l | grep hplip
ii hplip 3.16.3+repack0-1 i386 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.16.3+repack0-1 all HP Linux Printing and Imaging - data files
ii hplip-gui 3.16.3+repack0-1 all HP Linux Printing and Imaging - GUI utilities (Qt-based)
~$ sudo hp-setup
HP Linux Imaging and Printing System (ver. 3.16.3)
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.
X Error: BadAccess (attempt to access private resource denied) 10
Extension: 130 (MIT-SHM)
Minor opcode: 1 (X_ShmAttach)
Resource id: 0x139
X Error: BadShmSeg (invalid shared segment parameter) 128
Extension: 130 (MIT-SHM)
Minor opcode: 5 (X_ShmCreatePixmap)
Resource id: 0x1800010
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x1800011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x1800011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x1800011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x1800011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x1800011
Done.
X Error: BadPixmap (invalid Pixmap parameter) 4
Major opcode: 54 (X_FreePixmap)
Resource id: 0x1800011
X Error: BadShmSeg (invalid shared segment parameter) 128
Extension: 130 (MIT-SHM)
Minor opcode: 2 (X_ShmDetach)
Resource id: 0x1800010
sudo hp-plugins
sudo hp-doctor
cat /var/log/cups/error_log
lpstat-t
magozurlinuxha scritto:La stampante HP era accesa quando hai ridato sudo hp-setup?
Da terminale connesso ad Internet dai questo comando:
- Codice: Seleziona tutto
sudo hp-plugins
da terminale postami questi comandi sempre con la stampante accesa:
- Codice: Seleziona tutto
sudo hp-doctor
- Codice: Seleziona tutto
cat /var/log/cups/error_log
- Codice: Seleziona tutto
lpstat-t
~$ hp-doctor
HP Linux Imaging and Printing System (ver. 3.16.3)
Self Diagnse Utility and Healing Utility ver. 1.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.
HP Linux Imaging and Printing System (ver. 3.16.3)
Self Diagnse Utility and Healing Utility ver. 1.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.
Checking for Deprecated items....
No Deprecated items are found
Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility
Checking for Dependencies....
---------------
| SYSTEM INFO |
---------------
Kernel: 4.15.0-50-generic #54~16.04.1-Ubuntu SMP Wed May 8 15:50:20 UTC 2019 GNU/Linux
Host: bottega
Proc: 4.15.0-50-generic #54~16.04.1-Ubuntu SMP Wed May 8 15:50:20 UTC 2019 GNU/Linux
Distribution: ubuntu 16.04
Bitness: 32 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.16.3
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 16.04 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.16.3
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.3
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 05/20/19 18:18:33
version = 3.16.3
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------------------
| External Dependencies |
--------------------------
error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
error: dbus DBus - Message bus system REQUIRED - 1.10.6 MISSING 'DBUS may not be installed or not running'
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.32 OK -
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
network network -wget OPTIONAL - 1.17.1 OK -
-------------------------
| General Dependencies |
-------------------------
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.23' OK -
error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 MISSING 'libcrypto needs to be installed'
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
python3-xml Python XML libraries REQUIRED - 2.1.0 OK -
sane SANE - Scanning library REQUIRED - - OK -
error: python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 MISSING 'python3-devel needs to be installed'
python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.4 OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.2 OK -
---------------
| COMPILEDEP |
---------------
error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.4.0 MISSING 'gcc needs to be installed'
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
----------------------
| Python Extentions |
----------------------
cupsext CUPS-Extension REQUIRED - 3.16.3 OK -
hpmudext IO-Extension REQUIRED - 3.16.3 OK -
-----------------------
| Scan Configuration |
-----------------------
scanext Scan-SANE-Extension REQUIRED - 3.16.3 OK -
'/etc/sane.d/dll.d/hpaio' not found.
hpaio HPLIP-SANE-Backend REQUIRED - 3.16.3 OK 'hpaio found in /etc/sane.d/dll.conf'
-----------------------
| Other Dependencies |
-----------------------
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
No Scanner found.
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
lpstat
------
Type: Unknown
Device URI: Nessuna destinazione aggiunta.
--------------
| PERMISSION |
--------------
error: Unsupported model: DeskJet_3700_series
Missing Required Dependencies
-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'libcupsimage2-dev' package is missing or 'cups' service is not running.
error: 'libsane-dev' package is missing/incompatible
error: 'openssl' package is missing/incompatible
error: 'libusb-1.0.0-dev' package is missing/incompatible
error: 'python3-dev' package is missing/incompatible
error: 'libsnmp-dev' package is missing/incompatible
error: 'snmp-mibs-downloader' package is missing/incompatible
error: 'libjpeg-dev' package is missing/incompatible
error: 'libcups2-dev' package is missing or 'cups' service is not running.
error: 'cups-bsd' package is missing or 'cups' service is not running.
error: 'cups-client' package is missing or 'cups' service is not running.
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible
error: 'build-essential' package is missing/incompatible
Missing Optional Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'xsane' package is missing/incompatible
ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (bottega)'s password:
Do you want to update repository and Install missing/incompatible packages. (a=install all*, c=custom_install, s=skip):a
Updating repository
-------------------
cmd =sudo dpkg --configure -a
cmd =sudo apt-get install --yes --force-yes -f
cmd =sudo apt-get update
Installing Missing/Incompatible packages
----------------------------------------
cmd =sudo apt-get install --assume-yes cups-client
cmd =sudo apt-get install --assume-yes python3-dev
cmd =sudo apt-get install --assume-yes xsane
cmd =sudo apt-get install --assume-yes openssl
cmd =sudo apt-get install --assume-yes libjpeg-dev
cmd =sudo apt-get install --assume-yes libsnmp-dev
cmd =sudo apt-get install --assume-yes libcups2-dev
cmd =sudo apt-get install --assume-yes cups-bsd
cmd =sudo apt-get install --assume-yes snmp-mibs-downloader
cmd =sudo apt-get install --assume-yes libdbus-1-dev
cmd =sudo apt-get install --assume-yes libtool
cmd =sudo apt-get install --assume-yes libcupsimage2-dev
cmd =sudo apt-get install --assume-yes build-essential
cmd =sudo apt-get install --assume-yes libusb-1.0.0-dev
cmd =sudo apt-get install --assume-yes libcups2
cmd =sudo apt-get install --assume-yes libtool-bin
cmd =sudo apt-get install --assume-yes gtk2-engines-pixbuf
cmd =sudo apt-get install --assume-yes libsane-dev
Checking Permissions....
Checking for Configured Queues....
No Queue added
warning: No Queue(s) configured.
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Diagnose completed...
More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html
~$ cat /var/log/cups/error_log
~$ lpstat -t
lo scheduler è in funzione
nessuna destinazione predefinita di sistema
lpstat: Nessuna destinazione aggiunta.
lpstat: Nessuna destinazione aggiunta.
lpstat: Nessuna destinazione aggiunta.
lpstat: Nessuna destinazione aggiunta.
sudo apt-get purge hplip
cd Scaricati
sudo chmod +x hplip-3.17.11.run
./hplib-3.17.11.run
sudo hp-setup
magozurlinuxha scritto:La tua versione di hplip (3.16.3) per la tua multifunzione non va bene, devi aggiornarla alla versione hplip-3.17.11.run la scarichi da questo link:
https://sourceforge.net/projects/hplip/ ... p/3.17.11/
da terminale dai questi comandi connesso ad Internet:
- Codice: Seleziona tutto
sudo apt-get purge hplip
- Codice: Seleziona tutto
cd Scaricati
- Codice: Seleziona tutto
sudo chmod +x hplip-3.17.11.run
- Codice: Seleziona tutto
./hplib-3.17.11.run
dopo l'installazione di hplip dai questo comando:
- Codice: Seleziona tutto
sudo hp-setup
~$ sudo hp-setup
HP Linux Imaging and Printing System (ver. 3.17.11)
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.
X Error: BadAccess (attempt to access private resource denied) 10
Extension: 130 (MIT-SHM)
Minor opcode: 1 (X_ShmAttach)
Resource id: 0x139
X Error: BadShmSeg (invalid shared segment parameter) 128
Extension: 130 (MIT-SHM)
Minor opcode: 5 (X_ShmCreatePixmap)
Resource id: 0x2c00010
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2c00011
magozurlinuxha scritto:Prova con questo comando connesso ad Internet:
- Codice: Seleziona tutto
hp-setup -i
Visualizzano questa sezione: 0 utenti registrati e 7 ospiti