hp deskjet 1510, errori

Riconoscimento, installazione e configurazione delle periferiche.
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6393
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: hp deskjet 1510, errori

Messaggio da Roberto Pontecorvi »

Prova da terminale, con la stampante accesa e collegata, a dare il comando:

Codice: Seleziona tutto

hp-doctor -i -w
e posta il risultato del comando.
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6481
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Budgie
Distribuzione: 20.04 LTS; 22.04 LTS
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

prima di dare il comando hp-doctor

installa i seguenti pacchetti

Codice: Seleziona tutto

sudo apt install python3-sane

Codice: Seleziona tutto

sudo apt install python3-cups
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
wilecoyote
Gruppo Documentazione
Gruppo Documentazione
Messaggi: 14380
Iscrizione: giovedì 20 agosto 2009, 16:21
Desktop: Kubuntu Lubuntu
Distribuzione: 9.04 32bit 14/18/20/22.04 LTS 64bit
Sesso: Maschile
Località: Ceranesi - Ge

Re: hp deskjet 1510, errori

Messaggio da wilecoyote »

) Salve, non trova i pacchetti poiché ci sono delle virgole, dallo senza così:

Codice: Seleziona tutto

sudo apt update
sudo apt install libcups2 libdbus-1-dev libjpeg-dev libcups2-dev cups-bsd cups-client libcupsimage2-dev libusb-1.0.0-dev libusb-0.1-4 libsane-dev libsnmp-dev snmp-mibs-downloader
Ho aggiunto il comando per aggiornare la lista dei pacchetti nell'archivio.

:: Ciao
ACER Extensa 5230E 2,2 Ghz cpu Celeron 900 hdd 160 GB Ram 1 GB scheda video Intel GM500
ACER Extensa 5635Z 2,2 Ghz cpu Celeron T3100 hdd 320 GB Ram 4 GB scheda video Intel Mobile 4
Quando una Finestra chiusa incontra un Pinguino la Finestra chiusa è una Finestra aperta.
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 72
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

wilecoyote ha scritto:
sabato 11 marzo 2023, 16:02
) Salve, non trova i pacchetti poiché ci sono delle virgole, dallo senza così:

Codice: Seleziona tutto

sudo apt update
sudo apt install libcups2 libdbus-1-dev libjpeg-dev libcups2-dev cups-bsd cups-client libcupsimage2-dev libusb-1.0.0-dev libusb-0.1-4 libsane-dev libsnmp-dev snmp-mibs-downloader
Ho aggiunto il comando per aggiornare la lista dei pacchetti nell'archivio.

:: Ciao
Avevo provato anche senza virgole,
comunque

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt install libcups2 libdbus-1-dev libjpeg-dev libcups2-dev cups-bsd cups-client libcupsimage2-dev libusb-1.0.0-dev libusb-0.1-4 libsane-dev libsnmp-dev snmp-mibs-downloader
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto libusb-1.0.0-dev
E: Impossibile trovare alcun pacchetto tramite il glob "libusb-1.0.0-dev"
godspeed_7@UN45H:~$ 

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt install python3-sane
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Pacchetti suggeriti:
  python-pil-doc python3-sane-dbg
I seguenti pacchetti NUOVI saranno installati:
  python3-sane
0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
È necessario scaricare 17,5 kB di archivi.
Dopo quest'operazione, verranno occupati 67,6 kB di spazio su disco.
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu focal/universe amd64 python3-sane amd64 2.8.3-4build1 [17,5 kB]
Recuperati 17,5 kB in 1s (26,2 kB/s)
Selezionato il pacchetto python3-sane:amd64 non precedentemente selezionato.
(Lettura del database... 452857 file e directory attualmente installati.)
Preparativi per estrarre .../python3-sane_2.8.3-4build1_amd64.deb...
Estrazione di python3-sane:amd64 (2.8.3-4build1)...
Configurazione di python3-sane:amd64 (2.8.3-4build1)...
godspeed_7@UN45H:~$ sudo apt install python3-cups
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
python3-cups è già alla versione più recente (1.9.73-3build1).
È stato impostato python3-cups per l'installazione manuale.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
godspeed_7@UN45H:~$ 

Codice: Seleziona tutto

godspeed_7@UN45H:~$ hp-doctor -i -w

HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.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.


HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.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.

 

Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 5.15.0-67-lowlatency #74~20.04.1-Ubuntu SMP PREEMPT Wed Feb 22 17:01:40 UTC 2023 GNU/Linux
 Host: UN45H
 Proc: 5.15.0-67-lowlatency #74~20.04.1-Ubuntu SMP PREEMPT Wed Feb 22 17:01:40 UTC 2023 GNU/Linux
 Distribution: ubuntu 20.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  20.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.20.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=no
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=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.3
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=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:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address = 
voice_phone = 

[installation]
date_time = 03/14/23 13:23:29
version = 3.20.3

[last_used]
device_uri = "hp:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR"
printer_name = 
working_dir = .

[polling]
device_list = 
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 1

[upgrade]
last_upgraded_time = 1678474774
notify_upgrade = false
pending_upgrade_time = 0


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

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

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

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

 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'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.31'         OK         -
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.8.10          OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.9           OK         -
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.8.10          MISSING    'python3-devel needs to be installed'
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               7.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.34          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        -               9.4.0           MISSING    'gcc needs to be installed'
 error: make          make - GNU make utility to maintain groups of programs       REQUIRED        3.0             -               MISSING    'make needs to be installed'

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

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

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

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

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `hpaio:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR' is a Hewlett-Packard Deskjet_1510_series all-in-one


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI                        Model                 
  --------------------------------  ----------------------
  hp:/usb/Deskjet_1510_series?seri  HP Deskjet 1510 series
  al=CN3BM1HMSR05YR                                       

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
Deskjet-1510-series
-------------------
Type: Unknown
Device URI: usb://HP/Deskjet%201510%20series?serial=CN3BM1HMSR05YR&interface=1
PPD: /etc/cups/ppd/Deskjet-1510-series.ppd
warning: Failed to read /etc/cups/ppd/Deskjet-1510-series.ppd ppd file
PPD Description: 
Printer status: la stampante Deskjet-1510-series è inattiva.  è stata abilitata da mar 14 mar 2023, 13:19:59
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Deskjet_1510
------------
Type: Printer
Device URI: hp:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR
PPD: /etc/cups/ppd/Deskjet_1510.ppd
warning: Failed to read /etc/cups/ppd/Deskjet_1510.ppd ppd file
PPD Description: 
Printer status: la stampante Deskjet_1510 è inattiva.  è stata abilitata da mar 14 mar 2023, 13:19:59
Communication status: Good


--------------
| PERMISSION |
--------------

USB             Deskjet_1510                   Required        -        -        OK       Node:'/dev/bus/usb/001/007' Perm:'  root  lp rw- rw- rw- rw- r--'
Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'libdbus-1-dev' 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: 'libcupsimage2-dev' package is missing or 'cups' service is not running.
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libusb-0.1-4' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp-mibs-downloader' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 


ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (godspeed_7)'s password: 
 

Checking Permissions....


Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/Deskjet-1510-series.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/Deskjet-1510-series.ppd
warning: Could not complete Queue(s) configuration check


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


Please close this terminal manually. 

continua a sostenere che focal non sia supportato.

Immagine
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6481
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Budgie
Distribuzione: 20.04 LTS; 22.04 LTS
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

la cosa strana, è che il sistema, non ha creato il file dei log di cups.
Quindi, se reinstallassimo il pacchetto 'Cups'?

dai questo comando nel terminale e posta qui l'output

Codice: Seleziona tutto

sudo apt install --reinstall cups
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
wilecoyote
Gruppo Documentazione
Gruppo Documentazione
Messaggi: 14380
Iscrizione: giovedì 20 agosto 2009, 16:21
Desktop: Kubuntu Lubuntu
Distribuzione: 9.04 32bit 14/18/20/22.04 LTS 64bit
Sesso: Maschile
Località: Ceranesi - Ge

Re: hp deskjet 1510, errori

Messaggio da wilecoyote »

) Salve, non trova il pacchetto poiché c'è un punto invece del trattino tra i 2 zeri, dai il comando:

Codice: Seleziona tutto

sudo apt install libusb-1.0-0-dev
Poi ridai hp-doktor.

:: Ciao
ACER Extensa 5230E 2,2 Ghz cpu Celeron 900 hdd 160 GB Ram 1 GB scheda video Intel GM500
ACER Extensa 5635Z 2,2 Ghz cpu Celeron T3100 hdd 320 GB Ram 4 GB scheda video Intel Mobile 4
Quando una Finestra chiusa incontra un Pinguino la Finestra chiusa è una Finestra aperta.
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 72
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

wilecoyote ha scritto:
mercoledì 15 marzo 2023, 17:06
) Salve, non trova il pacchetto poiché c'è un punto invece del trattino tra i 2 zeri, dai il comando:

Codice: Seleziona tutto

sudo apt install libusb-1.0-0-dev
Poi ridai hp-doktor.

:: Ciao

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt install libusb-1.0-0-dev
[sudo] password di godspeed_7: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti aggiuntivi saranno inoltre installati:
  libusb-1.0-doc
I seguenti pacchetti NUOVI saranno installati:
  libusb-1.0-0-dev libusb-1.0-doc
0 aggiornati, 2 installati, 0 da rimuovere e 7 non aggiornati.
È necessario scaricare 237 kB di archivi.
Dopo quest'operazione, verranno occupati 1.821 kB di spazio su disco.
Continuare? [S/n] s
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu focal/main amd64 libusb-1.0-0-dev amd64 2:1.0.23-2build1 [64,4 kB]
Scaricamento di:2 http://it.archive.ubuntu.com/ubuntu focal/main amd64 libusb-1.0-doc all 2:1.0.23-2build1 [172 kB]
Recuperati 237 kB in 1s (197 kB/s)    
Selezionato il pacchetto libusb-1.0-0-dev:amd64 non precedentemente selezionato.
(Lettura del database... 452864 file e directory attualmente installati.)
Preparativi per estrarre .../libusb-1.0-0-dev_2%3a1.0.23-2build1_amd64.deb...
Estrazione di libusb-1.0-0-dev:amd64 (2:1.0.23-2build1)...
Selezionato il pacchetto libusb-1.0-doc non precedentemente selezionato.
Preparativi per estrarre .../libusb-1.0-doc_2%3a1.0.23-2build1_all.deb...
Estrazione di libusb-1.0-doc (2:1.0.23-2build1)...
Configurazione di libusb-1.0-doc (2:1.0.23-2build1)...
Configurazione di libusb-1.0-0-dev:amd64 (2:1.0.23-2build1)...
Elaborazione dei trigger per doc-base (0.10.9)...
Elaborazione 1 file doc-base aggiunto...

Codice: Seleziona tutto

godspeed_7@UN45H:~$ hp-doctor

HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.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.


HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.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.

 

Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 5.15.0-67-lowlatency #74~20.04.1-Ubuntu SMP PREEMPT Wed Feb 22 17:01:40 UTC 2023 GNU/Linux
 Host: UN45H
 Proc: 5.15.0-67-lowlatency #74~20.04.1-Ubuntu SMP PREEMPT Wed Feb 22 17:01:40 UTC 2023 GNU/Linux
 Distribution: ubuntu 20.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  20.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.20.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=no
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=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.3
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=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:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address = 
voice_phone = 

[installation]
date_time = 03/15/23 22:53:40
version = 3.20.3

[last_used]
device_uri = "hp:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR"
printer_name = 
working_dir = .

[polling]
device_list = 
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 1

[upgrade]
last_upgraded_time = 1678474774
notify_upgrade = false
pending_upgrade_time = 0


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

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

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

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

 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'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.31'         OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.8.10          OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.9           OK         -
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.8.10          MISSING    'python3-devel needs to be installed'
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               7.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.34          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        -               9.4.0           MISSING    'gcc needs to be installed'
 error: make          make - GNU make utility to maintain groups of programs       REQUIRED        3.0             -               MISSING    'make needs to be installed'

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

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

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

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

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
Deskjet-1510-series
-------------------
Type: Unknown
Device URI: usb://HP/Deskjet%201510%20series?serial=CN3BM1HMSR05YR&interface=1
PPD: /etc/cups/ppd/Deskjet-1510-series.ppd
warning: Failed to read /etc/cups/ppd/Deskjet-1510-series.ppd ppd file
PPD Description: 
Printer status: la stampante Deskjet-1510-series è stata disabilitata da mar 14 mar 2023Unplugged or turned off
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Deskjet_1510
------------
Type: Printer
Device URI: hp:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR
PPD: /etc/cups/ppd/Deskjet_1510.ppd
warning: Failed to read /etc/cups/ppd/Deskjet_1510.ppd ppd file
PPD Description: 
Printer status: la stampante Deskjet_1510 è stata disabilitata da mar 14 mar 2023, 13:34Unplugged or turned off
error: Unable to communicate with device (code=12): hp:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR
error: Device not found
error: Communication status: Failed


--------------
| PERMISSION |
--------------

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'libdbus-1-dev' 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: 'libcupsimage2-dev' package is missing or 'cups' service is not running.
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp-mibs-downloader' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 


ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (godspeed_7)'s password: 
 

Checking Permissions....


Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/Deskjet-1510-series.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/Deskjet-1510-series.ppd
warning: Could not complete Queue(s) configuration check


Checking for HP Properitery Plugin's....
No plug-in printers are configured.
 

Checking for Printer Status....
error: 'Deskjet_1510' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor

Diagnose completed...



More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html
godspeed_7@UN45H:~$ 

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt install --reinstall cups
[sudo] password di godspeed_7: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
0 aggiornati, 0 installati, 1 reinstallati, 0 da rimuovere e 0 non aggiornati.
È necessario scaricare 259 kB di archivi.
Dopo quest'operazione, verranno occupati 0 B di spazio su disco.
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 cups amd64 2.3.1-9ubuntu1.2 [259 kB]
Recuperati 259 kB in 1s (313 kB/s)
Preconfigurazione dei pacchetti in corso
(Lettura del database... 452951 file e directory attualmente installati.)
Preparativi per estrarre .../cups_2.3.1-9ubuntu1.2_amd64.deb...
Estrazione di cups (2.3.1-9ubuntu1.2) su (2.3.1-9ubuntu1.2)...
Configurazione di cups (2.3.1-9ubuntu1.2)...
Updating PPD files for cups ...
Updating PPD files for cups-filters ...
Updating PPD files for foomatic-db-compressed-ppds ...
Updating PPD files for openprinting-ppds ...
Updating PPD files for brlaser ...
Updating PPD files for c2esp ...
Updating PPD files for foo2zjs-common ...
Updating PPD files for hpcups ...
PPD for printer Deskjet-1510-series updated
PPD for printer Deskjet_1510 updated
Updating PPD files for m2300w ...
Updating PPD files for postscript-hp ...
Updating PPD files for ptouch ...
Updating PPD files for pxljr ...
Updating PPD files for sag-gdi ...
Updating PPD files for splix ...
Elaborazione dei trigger per man-db (2.9.1-1)...
godspeed_7@UN45H:~$ 
Avatar utente
wilecoyote
Gruppo Documentazione
Gruppo Documentazione
Messaggi: 14380
Iscrizione: giovedì 20 agosto 2009, 16:21
Desktop: Kubuntu Lubuntu
Distribuzione: 9.04 32bit 14/18/20/22.04 LTS 64bit
Sesso: Maschile
Località: Ceranesi - Ge

Re: hp deskjet 1510, errori

Messaggio da wilecoyote »

) Salve, pacchetto installato, bene, e nell'output del reinstallo di CUPS appaiono 2 stringhe:

Codice: Seleziona tutto

PPD for printer Deskjet-1510-series updated
PPD for printer Deskjet_1510 updated
Riprova la stampante/scanner.

:: Ciao
ACER Extensa 5230E 2,2 Ghz cpu Celeron 900 hdd 160 GB Ram 1 GB scheda video Intel GM500
ACER Extensa 5635Z 2,2 Ghz cpu Celeron T3100 hdd 320 GB Ram 4 GB scheda video Intel Mobile 4
Quando una Finestra chiusa incontra un Pinguino la Finestra chiusa è una Finestra aperta.
Avatar utente
Stealth
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17232
Iscrizione: martedì 31 gennaio 2006, 22:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04 LTS

Re: hp deskjet 1510, errori

Messaggio da Stealth »

wilecoyote ha scritto:
mercoledì 15 marzo 2023, 23:01
... Riprova la stampante/scanner.
:: Ciao
Boh, poi magari funziona, perché pare che i miracoli esistano. Io continuo a leggere l'output di hp-doctor come già fatto parecchi giorni fa, ci trovo una lista di dipendenze non soddisfatte e come allora chiedo: perché non installare quei pacchetti? Paura dei virus, degli akker russi, di incendio della cpu? Ci sono ragioni tecniche, psicologiche, ginecologiche...?
Ma la smetto e me ne faccio una ragione, vi lascio lavorare in pace e non scoccerò più
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6393
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: hp deskjet 1510, errori

Messaggio da Roberto Pontecorvi »

Perchè non provi ad installare i drive hplip-3.22.10?
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 72
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

Stealth ha scritto:
giovedì 16 marzo 2023, 9:24
wilecoyote ha scritto:
mercoledì 15 marzo 2023, 23:01
... Riprova la stampante/scanner.
:: Ciao
Boh, poi magari funziona, perché pare che i miracoli esistano. Io continuo a leggere l'output di hp-doctor come già fatto parecchi giorni fa, ci trovo una lista di dipendenze non soddisfatte e come allora chiedo: perché non installare quei pacchetti? Paura dei virus, degli akker russi, di incendio della cpu? Ci sono ragioni tecniche, psicologiche, ginecologiche...?
Ma la smetto e me ne faccio una ragione, vi lascio lavorare in pace e non scoccerò più
eh io ho provato ma continua a non dare risultati
danny l-asinello ha scritto:
martedì 14 marzo 2023, 13:24


Avevo provato anche senza virgole,
comunque

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt install libcups2 libdbus-1-dev libjpeg-dev libcups2-dev cups-bsd cups-client libcupsimage2-dev libusb-1.0.0-dev libusb-0.1-4 libsane-dev libsnmp-dev snmp-mibs-downloader
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto libusb-1.0.0-dev
E: Impossibile trovare alcun pacchetto tramite il glob "libusb-1.0.0-dev"
godspeed_7@UN45H:~$ 


perchè di tutta la lista risponde solo di 1 pacchetto non trovato?
che poi ok glie lo abbiamo fatto installare ma gli altri?
Roberto Pontecorvi ha scritto:
giovedì 16 marzo 2023, 12:12
Perchè non provi ad installare i drive hplip-3.22.10?
mi daresti due dritte su come procedere?
wilecoyote ha scritto:
mercoledì 15 marzo 2023, 23:01
) Salve, pacchetto installato, bene, e nell'output del reinstallo di CUPS appaiono 2 stringhe:

Codice: Seleziona tutto

PPD for printer Deskjet-1510-series updated
PPD for printer Deskjet_1510 updated
Riprova la stampante/scanner.

:: Ciao
vero, magari funziona, però l'output di hp-doctor continua ad essere impestato di errori..
Avatar utente
wilecoyote
Gruppo Documentazione
Gruppo Documentazione
Messaggi: 14380
Iscrizione: giovedì 20 agosto 2009, 16:21
Desktop: Kubuntu Lubuntu
Distribuzione: 9.04 32bit 14/18/20/22.04 LTS 64bit
Sesso: Maschile
Località: Ceranesi - Ge

Re: hp deskjet 1510, errori

Messaggio da wilecoyote »

) Salve, prova di nuovo ad installare i pacchetti:

Codice: Seleziona tutto

sudo apt install libcups2 libdbus-1-dev libjpeg-dev libcups2-dev cups-bsd cups-client libcupsimage2-dev libusb-0.1-4 libsane-dev libsnmp-dev snmp-mibs-downloader
Se fallisce l'installazione di 1 spesso si blocca l’inoculazione di tutti gli altri.

:: Ciao
ACER Extensa 5230E 2,2 Ghz cpu Celeron 900 hdd 160 GB Ram 1 GB scheda video Intel GM500
ACER Extensa 5635Z 2,2 Ghz cpu Celeron T3100 hdd 320 GB Ram 4 GB scheda video Intel Mobile 4
Quando una Finestra chiusa incontra un Pinguino la Finestra chiusa è una Finestra aperta.
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6481
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Budgie
Distribuzione: 20.04 LTS; 22.04 LTS
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

wilecoyote ha scritto:
sabato 18 marzo 2023, 15:21
) Salve, prova di nuovo ad installare i pacchetti:

Codice: Seleziona tutto

sudo apt install libcups2 libdbus-1-dev libjpeg-dev libcups2-dev cups-bsd cups-client libcupsimage2-dev libusb-0.1-4 libsane-dev libsnmp-dev snmp-mibs-downloader
Se fallisce l'installazione di 1 spesso si blocca l’inoculazione di tutti gli altri.

:: Ciao
Consigliare di installare uno ad uno?
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 72
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

ok, ora quelli sono andati, ne manca ancora qualcuno

Codice: Seleziona tutto

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 
ma:

Codice: Seleziona tutto

godspeed_7@UN45H:~$ sudo apt install libcups2
[sudo] password di godspeed_7: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
libcups2 è già alla versione più recente (2.3.1-9ubuntu1.2).
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
godspeed_7@UN45H:~$ sudo apt install python3-pyqt4
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto python3-pyqt4
godspeed_7@UN45H:~$ sudo apt install gtk2-engines-pixbuf
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
gtk2-engines-pixbuf è già alla versione più recente (2.24.32-4ubuntu4).
È stato impostato gtk2-engines-pixbuf per l'installazione manuale.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
godspeed_7@UN45H:~$ sudo apt install python3-dev
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti aggiuntivi saranno inoltre installati:
  libexpat1-dev libpython3-dev libpython3.8-dev python3.8-dev
I seguenti pacchetti NUOVI saranno installati:
  libexpat1-dev libpython3-dev libpython3.8-dev python3-dev python3.8-dev
0 aggiornati, 5 installati, 0 da rimuovere e 0 non aggiornati.
È necessario scaricare 4.588 kB di archivi.
Dopo quest'operazione, verranno occupati 21,5 MB di spazio su disco.
Continuare? [S/n] s
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 libexpat1-dev amd64 2.2.9-1ubuntu0.6 [116 kB]
Scaricamento di:2 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8-dev amd64 3.8.10-0ubuntu1~20.04.6 [3.949 kB]
Scaricamento di:3 http://it.archive.ubuntu.com/ubuntu focal/main amd64 libpython3-dev amd64 3.8.2-0ubuntu2 [7.236 B]
Scaricamento di:4 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3.8-dev amd64 3.8.10-0ubuntu1~20.04.6 [514 kB]
Scaricamento di:5 http://it.archive.ubuntu.com/ubuntu focal/main amd64 python3-dev amd64 3.8.2-0ubuntu2 [1.212 B]
Recuperati 4.588 kB in 3s (1.676 kB/s)  
Selezionato il pacchetto libexpat1-dev:amd64 non precedentemente selezionato.
(Lettura del database... 455524 file e directory attualmente installati.)
Preparativi per estrarre .../libexpat1-dev_2.2.9-1ubuntu0.6_amd64.deb...
Estrazione di libexpat1-dev:amd64 (2.2.9-1ubuntu0.6)...
Selezionato il pacchetto libpython3.8-dev:amd64 non precedentemente selezionato.
Preparativi per estrarre .../libpython3.8-dev_3.8.10-0ubuntu1~20.04.6_amd64.deb...
Estrazione di libpython3.8-dev:amd64 (3.8.10-0ubuntu1~20.04.6)...
Selezionato il pacchetto libpython3-dev:amd64 non precedentemente selezionato.
Preparativi per estrarre .../libpython3-dev_3.8.2-0ubuntu2_amd64.deb...
Estrazione di libpython3-dev:amd64 (3.8.2-0ubuntu2)...
Selezionato il pacchetto python3.8-dev non precedentemente selezionato.
Preparativi per estrarre .../python3.8-dev_3.8.10-0ubuntu1~20.04.6_amd64.deb...
Estrazione di python3.8-dev (3.8.10-0ubuntu1~20.04.6)...
Selezionato il pacchetto python3-dev non precedentemente selezionato.
Preparativi per estrarre .../python3-dev_3.8.2-0ubuntu2_amd64.deb...
Estrazione di python3-dev (3.8.2-0ubuntu2)...
Configurazione di libexpat1-dev:amd64 (2.2.9-1ubuntu0.6)...
Configurazione di libpython3.8-dev:amd64 (3.8.10-0ubuntu1~20.04.6)...
Configurazione di python3.8-dev (3.8.10-0ubuntu1~20.04.6)...
Configurazione di libpython3-dev:amd64 (3.8.2-0ubuntu2)...
Configurazione di python3-dev (3.8.2-0ubuntu2)...
Elaborazione dei trigger per man-db (2.9.1-1)...
Elaborazione dei trigger per doc-base (0.10.9)...
Elaborazione 1 file doc-base aggiunto...
godspeed_7@UN45H:~$ sudo apt install libtool
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
libtool è già alla versione più recente (2.4.6-14).
È stato impostato libtool per l'installazione manuale.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
godspeed_7@UN45H:~$ sudo apt install libtool-bin
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti NUOVI saranno installati:
  libtool-bin
0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
È necessario scaricare 80,1 kB di archivi.
Dopo quest'operazione, verranno occupati 399 kB di spazio su disco.
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu focal/main amd64 libtool-bin amd64 2.4.6-14 [80,1 kB]
Recuperati 80,1 kB in 0s (188 kB/s)  
Selezionato il pacchetto libtool-bin non precedentemente selezionato.
(Lettura del database... 455725 file e directory attualmente installati.)
Preparativi per estrarre .../libtool-bin_2.4.6-14_amd64.deb...
Estrazione di libtool-bin (2.4.6-14)...
Configurazione di libtool-bin (2.4.6-14)...
Elaborazione dei trigger per man-db (2.9.1-1)...
godspeed_7@UN45H:~$ sudo apt install python3-dbus.mainloop.qt
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto python3-dbus.mainloop.qt
E: Impossibile trovare alcun pacchetto tramite il glob "python3-dbus.mainloop.qt"
godspeed_7@UN45H:~$ 

ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6481
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Budgie
Distribuzione: 20.04 LTS; 22.04 LTS
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

rifai l'output del comando hp-doctor

e del comando

Codice: Seleziona tutto

systemctl status cups
forse l'ultimo che da problemi installare questo pacchetto

Codice: Seleziona tutto

sudo apt install python3-dbus.mainloop.pyqt5
Buona giornata utenti del forum. :ciao: ivantu
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6393
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: hp deskjet 1510, errori

Messaggio da Roberto Pontecorvi »

Puoi scaricarlo dal sito di hp -> https://support.hp.com/it-it/drivers/printers oppure -> https://sourceforge.net/projects/hplip/files/hplip/
se hai bisogno di su come installarli fammelo sapere.
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6481
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Budgie
Distribuzione: 20.04 LTS; 22.04 LTS
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

Roberto Pontecorvi ha scritto:
sabato 18 marzo 2023, 20:10
Puoi scaricarlo dal sito di hp -> https://support.hp.com/it-it/drivers/printers oppure -> https://sourceforge.net/projects/hplip/files/hplip/
se hai bisogno di su come installarli fammelo sapere.
Buongiorno

consigliare di fare l'aggiornamento a hplip, installando la versione aggiornata, e non da repository ufficiale di Ubuntu. Non è che si corre il rischio che la versione aggiornata da problemi?
Vista le problematiche nella sezione tecnica ultimamente faccio ricordare, che la maggior parte si ha problemi con quelle versioni nuove. Hanno ancora sempre qualche bug da risolvere. Non sono stabili. Si consiglia di ritornare indietro.
Buona giornata utenti del forum. :ciao: ivantu
Avatar utente
danny l-asinello
Prode Principiante
Messaggi: 72
Iscrizione: mercoledì 31 luglio 2019, 18:56
Desktop: ubuntustudio.
Distribuzione: ubuntu studio 20.04.5
Sesso: Maschile
Località: trentino

Re: hp deskjet 1510, errori

Messaggio da danny l-asinello »

Codice: Seleziona tutto

godspeed_7@UN45H:~$ hp-doctor

HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.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.


HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.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.

 

Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 5.15.0-67-lowlatency #74~20.04.1-Ubuntu SMP PREEMPT Wed Feb 22 17:01:40 UTC 2023 GNU/Linux
 Host: UN45H
 Proc: 5.15.0-67-lowlatency #74~20.04.1-Ubuntu SMP PREEMPT Wed Feb 22 17:01:40 UTC 2023 GNU/Linux
 Distribution: ubuntu 20.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  20.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.20.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=no
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=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.3
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=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:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address = 
voice_phone = 

[installation]
date_time = 03/19/23 14:49:52
version = 3.20.3

[last_used]
device_uri = "hp:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR"
printer_name = 
working_dir = .

[polling]
device_list = 
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 1

[upgrade]
last_upgraded_time = 1678474774
notify_upgrade = false
pending_upgrade_time = 0


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

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

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

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

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

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

 libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         -
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               9.4.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.2.1           OK         -

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

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

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

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

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `hpaio:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR' is a Hewlett-Packard Deskjet_1510_series all-in-one


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI                        Model                 
  --------------------------------  ----------------------
  hp:/usb/Deskjet_1510_series?seri  HP Deskjet 1510 series
  al=CN3BM1HMSR05YR                                       

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
Deskjet-1510-series
-------------------
Type: Unknown
Device URI: usb://HP/Deskjet%201510%20series?serial=CN3BM1HMSR05YR&interface=1
PPD: /etc/cups/ppd/Deskjet-1510-series.ppd
warning: Failed to read /etc/cups/ppd/Deskjet-1510-series.ppd ppd file
PPD Description: 
Printer status: la stampante Deskjet-1510-series è inattiva.  è stata abilitata da dom 19 mar 2023, 14:49:25
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Deskjet_1510
------------
Type: Printer
Device URI: hp:/usb/Deskjet_1510_series?serial=CN3BM1HMSR05YR
PPD: /etc/cups/ppd/Deskjet_1510.ppd
warning: Failed to read /etc/cups/ppd/Deskjet_1510.ppd ppd file
PPD Description: 
Printer status: la stampante Deskjet_1510 è inattiva.  è stata abilitata da dom 19 mar 2023, 14:49:25
Communication status: Good


--------------
| PERMISSION |
--------------

USB             Deskjet_1510                   Required        -        -        OK       Node:'/dev/bus/usb/001/007' Perm:'  root  lp rw- rw- rw- rw- r--'
Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 


ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (godspeed_7)'s password: 
 

Checking Permissions....


Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/Deskjet-1510-series.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/Deskjet-1510-series.ppd
warning: Could not complete Queue(s) configuration check


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
godspeed_7@UN45H:~$ 

Codice: Seleziona tutto

godspeed_7@UN45H:~$ systemctl status cups
● cups.service - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: >
     Active: active (running) since Sun 2023-03-19 00:00:41 CET; 14h ago
TriggeredBy: ● cups.socket
             ● cups.path
       Docs: man:cupsd(8)
   Main PID: 20419 (cupsd)
      Tasks: 2 (limit: 4510)
     Memory: 4.8M
     CGroup: /system.slice/cups.service
             ├─20419 /usr/sbin/cupsd -l
             └─22833 /usr/lib/cups/notifier/dbus dbus://

mar 19 00:00:41 UN45H systemd[1]: Started CUPS Scheduler.
mar 19 14:49:23 UN45H /hpfax[22819]: [22819]: error: Failed to create /var/spoo>
lines 1-15/15 (END)

..quel pacchetto dice è già alla versione più recente
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6481
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Budgie
Distribuzione: 20.04 LTS; 22.04 LTS
Sesso: Maschile

Re: hp deskjet 1510, errori

Messaggio da ivantu »

Kernel: 5.15.0-67-lowlatency #74~20.04.1-Ubuntu SMP PREEMPT Wed Feb 22 17:01:40 UTC 2023 GNU/Linux
Hai un motivo per utilizzare kernel lowlatency?
Hai installato un kernel generic sul sistema? o hai soltanto il lowlatency?
prova avviare il sistema con kernel generic. e prova la stampante.

Plugins are not installed. Could not access file: No such file or directory
dai questi

Codice: Seleziona tutto

sudo apt update
sudo apt full-upgrade
hp-plugin -i

un problema, è che il comando hp-doctor è contradditorio rispetto all'avvio di cups.service
il primo dice che non è avviato, mentre il secondo sta correndo (active: running), ma non riesce a creare /var/spool
posta qui l'output di terminale

Codice: Seleziona tutto

ls -la /var/
ls -la /var/spool
Buona giornata utenti del forum. :ciao: ivantu
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6393
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: hp deskjet 1510, errori

Messaggio da Roberto Pontecorvi »

@ ivantu - io con la nuova distribuzione, di hplip, ho aggiornato sia la 18.4 che la 22.4, su queste distribuzioni ho la stampante hp laser jet 1020 e la stampante hp laser M140we e non ho avuto nessun problema.Tutto questo su due pc.
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Rafbor e 9 ospiti