[Risolto] HP Laser Jet Pro MFP M26nw

Riconoscimento, installazione e configurazione delle periferiche.
PISEMASA55
Prode Principiante
Messaggi: 24
Iscrizione: lunedì 19 novembre 2018, 5:59
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.1 LTS
Sesso: Maschile

[Risolto] HP Laser Jet Pro MFP M26nw

Messaggio da PISEMASA55 »

Salve a tutti
E' la prima volta che apro una discussione, in precedenza mi ero inserito erroneamente in un'altra, creando a mia insaputa solo il vostro disappunto, me ne scuso ancora.
Premetto che su vostro consiglio ho riletto più attentamente il regolamento del forum e ne terrò a mente tutti i vostri consigli.
Provengo da sistema operativo Mac, ma ora sono nel mondo Ubuntu in maniera definitiva, da circa 6 mesi ho acquistato un computer con le seguenti caratteristiche:
Macchina: HP-290-G2-MT-Business-PC
Memoria: 3,7 GiB
Processore: Intel® Core™ i3-8100 CPU @ 3.60GHz × 4
Grafica: Intel® HD Graphics (Coffeelake 3x8 GT2)
GNOME: 3.28.2
Tipo SO: Ubuntu 18.04.1 LTS 64-bit (preistallato su mia richiesta)
Disco: 983,4 GB.
Inizialmente tutto ok, la stampante citata nel titolo, che già usavo con l'altro computer, è stata riconosciuta automaticamente appena collegata con il cavo USB, sino a quando un giorno
mentre stavo stampando, è venuta a mancare l'energia elettrica nella mia zona e da quel momento non riesco più ad usarla, visualizzando su: impostazioni > dispositivi > stampanti il seguente messaggio "Il servizio di sistema per la stampa sembra non essere disponibile".

Ho provato su: Additional Printer Setting > connetti > connetti a server CUPS > / run/cups/cups.sock (unica voce del menù a tendina) > connetti - mi restituisce il messaggio "Errore del Server CUPS"

Ho provato su: HP Device Manager > Connection (I/O) Type > Universal Serial Bus > Hide Advanced Option > Type > All-in-one/MFP device only > next
si apre il pannello del 2° step: Select From Discovered Device > viene evidenziato il modello della stampante > next
si apre il pannello del 3° step: Setup Device (con quattro caselle):
- Printer Name: HP Laser Jet Pro MFP M26nw;
- Descrition: (vuoto);
- Location: (vuoto);
- PPD file: (not found, clich Browse Button to select a PPD file)
eseguo il comando > si apre la cartella /usr/share/ppd/hplip/HP/HP-Fax-hpcups.ppd.gz
e qui mi fermo perché non riesco ad andare oltre.
Vi sarei grato di qualsiasi suggerimento per risolvere il problema.
Ultima modifica di PISEMASA55 il sabato 19 gennaio 2019, 11:31, modificato 2 volte in totale.
Avatar utente
Stealth
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17349
Iscrizione: martedì 31 gennaio 2006, 22:55
Desktop: Gnome
Distribuzione: Ubuntu 22.04 LTS

Re: HP Laser Jet Pro MFP M26nw

Messaggio da Stealth »

Se funzionava e non gli manca niente io (come primo tentativo) cancellerei la stampante dal sistema e lo farei ripartire a stampante accesa, per fargliela trovare da solo. Di solito con hp può bastare
ciao
PISEMASA55
Prode Principiante
Messaggi: 24
Iscrizione: lunedì 19 novembre 2018, 5:59
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.1 LTS
Sesso: Maschile

Re: HP Laser Jet Pro MFP M26nw

Messaggio da PISEMASA55 »

Puoi indicarmi il modo migliore per cancellare la stampante, visto che da: impostazioni > dispositivi > stampanti risulta "Il servizio di sistema per la stampa sembra non essere disponibile".
Grazie
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: HP Laser Jet Pro MFP M26nw

Messaggio da magozurlinux »

Ciao.

Clicca su questo link:

http://localhost:631/printers

clicca sulla tua stampante HP LaserJet Pro ...... (evidenziata in blu), si aprirà una nuova pagina, clicca in alto sul menu a tendina Administration, seleziona Delete Printer, la tua stampante verrà eliminata, chiudi il browser.

Rifai la procedura dando questo comando da terminale con la stampante accesa:

Codice: Seleziona tutto

sudo hp-setup -i
procedi con l'installazione della stampante laser HP.
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
PISEMASA55
Prode Principiante
Messaggi: 24
Iscrizione: lunedì 19 novembre 2018, 5:59
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.1 LTS
Sesso: Maschile

Re: HP Laser Jet Pro MFP M26nw

Messaggio da PISEMASA55 »

Buongiorno magozurlinux
Premesso che non riesco a collegarmi all'indirizzo: http://localhost:631/printers
ho lanciato ugualmente da terminale il comando "sudo hp - setup -1" e di seguito il risultato:

sebastianelli@sebastianelli-HP-290-G2-MT-Business-PC:~$ sudo hp-setup -i
HP Linux Imaging and Printing System (ver. 3.17.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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)

Enter number 0...2 for connection type (q=quit, enter=usb*) ? 0
Using connection type: usb
Setting up device: hp:/usb/HP_LaserJet_Pro_MFP_M26nw?serial=CNB6JD9BS6
---------------------
| PRINT QUEUE SETUP |
---------------------
Please enter a name for this print queue (m=use model name:'HP_LaserJet_Pro_MFP_M26nw'*, q=quit) ?m
Using queue name: HP_LaserJet_Pro_MFP_M26nw
Locating PPD file... Please wait.
error: No PPD found for model laserjet_pro_mfp_m26nw using old algorithm.
error: Unable to find an appropriate PPD file.
Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? q

Come puoi vedere mi dice che è impossibile trovare un file PPD appropriato per il modello della mia stampante,
come posso procedere?
Ti ringrazio anticipatamente per il tempo che potrai dedicarmi.
stoneman
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1727
Iscrizione: domenica 25 luglio 2010, 16:57

Re: HP Laser Jet Pro MFP M26nw

Messaggio da stoneman »

Premetto che ho la stessa stampante ma sul mio sistema funziona senza problemi. Potresti provare ad usare il comando hp-doctor. Purtroppo su ubuntu 18.04 lanciando il semplice programma da errore per fare partire il comando bisogna digitare il seguente comando:

Codice: Seleziona tutto

python3 /usr/bin/hp-doctor
All'avvio dirà che la distribuzione è deprecata ma basta premere il tasto y per andare avanti.

Buona fortuna.
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: HP Laser Jet Pro MFP M26nw

Messaggio da magozurlinux »

Da terminale postami questo comando:

Codice: Seleziona tutto

locate .ppd
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
Stealth
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17349
Iscrizione: martedì 31 gennaio 2006, 22:55
Desktop: Gnome
Distribuzione: Ubuntu 22.04 LTS

Re: HP Laser Jet Pro MFP M26nw

Messaggio da Stealth »

Non dimenticare il plugin, non basta il ppd e le laserjet ne hanno bisogno per funzionare
ciao
PISEMASA55
Prode Principiante
Messaggi: 24
Iscrizione: lunedì 19 novembre 2018, 5:59
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.1 LTS
Sesso: Maschile

Re: HP Laser Jet Pro MFP M26nw

Messaggio da PISEMASA55 »

Scusate il ritardo, a seguire la risposta al comando locate .ppd

Codice: Seleziona tutto

sebastianelli@sebastianelli-HP-290-G2-MT-Business-PC:~$ locate .ppd
/etc/cups/ppd/HP_LaserJet_Pro_MFP_M26nw_139AEB_.ppd
/etc/cups/ppd/HP_LaserJet_Pro_MFP_M26nw_139AEB_.ppd.O
/usr/share/cups/ppd-updaters/cups-filters.ppd-updater
/usr/share/cups/ppd-updaters/printer-driver-brlaser.ppd-updater
/usr/share/cups/ppd-updaters/printer-driver-c2esp.ppd-updater
/usr/share/cups/ppd-updaters/printer-driver-foo2zjs-common.ppd-updater
/usr/share/cups/ppd-updaters/printer-driver-gutenprint.ppd-updater
/usr/share/cups/ppd-updaters/printer-driver-hpcups.ppd-updater
/usr/share/cups/ppd-updaters/printer-driver-m2300w.ppd-updater
/usr/share/cups/ppd-updaters/printer-driver-postscript-hp.ppd-updater
/usr/share/cups/ppd-updaters/printer-driver-ptouch.ppd-updater
/usr/share/cups/ppd-updaters/printer-driver-pxljr.ppd-updater
/usr/share/cups/ppd-updaters/printer-driver-sag-gdi.ppd-updater
/usr/share/ghostscript/9.26/lib/cbjc600.ppd
/usr/share/ghostscript/9.26/lib/cbjc800.ppd
/usr/share/ghostscript/9.26/lib/ghostpdf.ppd
/usr/share/ppd/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd
/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd
/usr/share/ppd/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd
/usr/share/ppd/cupsfilters/Ricoh-PDF_Printer-PDF.ppd
/usr/share/ppd/cupsfilters/pxlcolor.ppd
/usr/share/ppd/cupsfilters/pxlmono.ppd
/usr/share/ppd/hplip/HP/HP-Fax-hpcups.ppd.gz
/usr/share/ppd/hplip/HP/HP-Fax2-hpcups.ppd.gz
/usr/share/ppd/hplip/HP/HP-Fax3-hpcups.ppd.gz
/usr/share/ppd/hplip/HP/HP-Fax4-hpcups.ppd.gz
Ultima modifica di PISEMASA55 il martedì 8 gennaio 2019, 0:08, modificato 1 volta in totale.
Avatar utente
giulux
Amministratore
Amministratore
Messaggi: 25426
Iscrizione: domenica 10 gennaio 2010, 12:17
Desktop: ubuntu 18.04
Distribuzione: Ubuntu 18.04.3 LTS x86_64
Sesso: Maschile
Località: Roma

Re: HP Laser Jet Pro MFP M26nw

Messaggio da giulux »

Inseriti come hai fatto i listati rendono il post tropo lungo e di difficile lettura.
In futuro incollali tra i tag [ code] e [ /code] che si creano cliccando su Codice in alto, sopra la finestra di scrittura (editor completo) così:
  • [ code]listato
    da postare
    [ /code]
Correggi il post precedente cliccando su "modifica", poi seleziona il listato, clicca su Codice e salva, come da esempio
0tag_codice.gif
Ciao
"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: HP Laser Jet Pro MFP M26nw

Messaggio da magozurlinux »

Da terminale dai questo comando:

Codice: Seleziona tutto

sudo rm /etc/cups/ppd/HP_LaserJet_Pro_MFP_M26nw_139AEB_.ppd.O
ridai il comando da terminale:

Codice: Seleziona tutto

sudo hp-setup
Se arriva a questo punto

Codice: Seleziona tutto

Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? 
rispondi y e metti questo percorso:

Codice: Seleziona tutto

/etc/cups/ppd/HP_LaserJet_Pro_MFP_M26nw_139AEB_.ppd
procedi con l'installazione.
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
PISEMASA55
Prode Principiante
Messaggi: 24
Iscrizione: lunedì 19 novembre 2018, 5:59
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.1 LTS
Sesso: Maschile

Re: HP Laser Jet Pro MFP M26nw

Messaggio da PISEMASA55 »

Questo è dove mi fa arrivare:

Codice: Seleziona tutto

sebastianelli@sebastianelli-HP-290-G2-MT-Business-PC:~$ sudo rm /etc/cups/ppd/HP_LaserJet_Pro_MFP_M26nw_139AEB_.ppd.O
[sudo] password di sebastianelli: 
rm: impossibile rimuovere '/etc/cups/ppd/HP_LaserJet_Pro_MFP_M26nw_139AEB_.ppd.O': File o directory non esistente
sebastianelli@sebastianelli-HP-290-G2-MT-Business-PC:~$ sudo hp-setup

HP Linux Imaging and Printing System (ver. 3.17.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.

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Searching... (bus=usb, search=(None), desc=0)
error: No PPD found for model laserjet_pro_mfp_m26nw using old algorithm.
error: No appropriate print PPD file found for model hp_laserjet_pro_mfp_m26nw
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: HP Laser Jet Pro MFP M26nw

Messaggio da magozurlinux »

Da terminale postami questi comandi con la multifunzione HP accesa:

Codice: Seleziona tutto

sudo hp-check

Codice: Seleziona tutto

sudo hp-doctor
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
PISEMASA55
Prode Principiante
Messaggi: 24
Iscrizione: lunedì 19 novembre 2018, 5:59
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.1 LTS
Sesso: Maschile

Re: HP Laser Jet Pro MFP M26nw

Messaggio da PISEMASA55 »

Codice: Seleziona tutto

sebastianelli@sebastianelli-HP-290-G2-MT-Business-PC:~$ sudo hp-check
[sudo] password di sebastianelli: 
Saving output in log file: /home/sebastianelli/hp-check.log

HP Linux Imaging and Printing System (ver. 3.17.10)
Dependency/Version Check Utility ver. 15.1

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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP    
supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed  
to successfully compile HPLIP.                                                            
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied     
package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper       
dependencies installed to successfully run.                                               
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check   
both of the above cases (both compile- and run-time dependencies).                        

Check types:                                                                              
a. EXTERNALDEP - External Dependencies                                                    
b. GENERALDEP - General Dependencies (required both at compile and run time)              
c. COMPILEDEP - Compile time Dependencies                                                 
d. [All are run-time checks]                                                              
PYEXT SCANCONF QUEUES PERMISSION                                                          

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: 12-18.04 version is not supported. Using 12-17.04 versions dependencies to verify and install...

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

 Kernel: 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 GNU/Linux
 Host: sebastianelli-HP-290-G2-MT-Business-PC
 Proc: 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 GNU/Linux
 Distribution: 12 18.04
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.17.10
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 12 distro  18.04 version 

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

[hplip]
version=3.17.10

[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.17.10
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


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.17.10



Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address = 
voice_phone = 

[last_used]
device_uri = hp:/usb/HP_LaserJet_Pro_MFP_M26nw?serial=CNB6JD9BS6
printer_name = 
working_dir = .

[polling]
device_list = 
enable = false
interval = 5

[refresh]
enable = true
rate = 30
type = 2

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1542347448
notify_upgrade = true
pending_upgrade_time = 0

[installation]
date_time = 01/07/19 20:07:58
version = 3.17.10


 <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.26            OK         -
 error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
 error: dbus          DBus - Message bus system                                    REQUIRED        -               1.12.2          MISSING    'DBUS may not be installed or not running'
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.19.4          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'
 error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               b'2.27'         MISSING    'libpthread needs to be installed'
 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.0           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.6.7           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.6           OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.5           OK         -
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.6.7           MISSING    'python3-devel needs to be installed'
 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.4.0           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        -               -               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.17.10         OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.17.10         OK         -

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

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

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

No Scanner found.

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

No devices found.

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

 
lpstat
------
Type: Unknown
Device URI: Descrittore di file errato


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

 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible 
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libjpeg-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
error: 'libusb-1.0.0-dev' 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: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'xsane' package is missing/incompatible 
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 

Total Errors: 17
Total Warnings: 0


Done.

Codice: Seleziona tutto

sebastianelli@sebastianelli-HP-290-G2-MT-Business-PC:~$ hp-doctor
Traceback (most recent call last):
  File "/usr/bin/hp-doctor", line 42, in <module>
    check_extension_module_env('cupsext')
  File "/usr/share/hplip/base/g.py", line 339, in check_extension_module_env
    python_ver = xint((sys.version).split(' ')[0])              #find the current python version ; xint() to convert string to int, returns a list
  File "/usr/share/hplip/base/g.py", line 331, in xint
    return l
UnboundLocalError: local variable 'l' referenced before assignment
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: HP Laser Jet Pro MFP M26nw

Messaggio da magozurlinux »

Da terminale postami questi comandi:

Codice: Seleziona tutto

dpkg -l | grep hplip

Codice: Seleziona tutto

dpkg -l | grep cups
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
PISEMASA55
Prode Principiante
Messaggi: 24
Iscrizione: lunedì 19 novembre 2018, 5:59
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.1 LTS
Sesso: Maschile

Re: HP Laser Jet Pro MFP M26nw

Messaggio da PISEMASA55 »

Codice: Seleziona tutto

sebastianelli@sebastianelli-HP-290-G2-MT-Business-PC:~$ dpkg -l | grep hplip
ii  hplip                                         3.17.10+repack0-5                            amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                    3.17.10+repack0-5                            all          HP Linux Printing and Imaging - data files
ii  hplip-gui                                     3.17.10+repack0-5                            all          HP Linux Printing and Imaging - GUI utilities (Qt-based)
sebastianelli@sebastianelli-HP-290-G2-MT-Business-PC:~$ dpkg -l | grep cups
ii  cups                                          2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed                                  1.20.2-0ubuntu3                              amd64        OpenPrinting CUPS Filters - cups-browsed
ii  cups-bsd                                      2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - BSD commands
ii  cups-client                                   2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common                                   2.2.7-1ubuntu2.2                             all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers                             2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon                                   2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - daemon
ii  cups-filters                                  1.20.2-0ubuntu3                              amd64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers                     1.20.2-0ubuntu3                              amd64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils                                2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - IPP developer/admin utilities
ii  cups-pk-helper                                0.2.6-1ubuntu1.2                             amd64        PolicyKit helper to configure cups with fine-grained privileges
ii  cups-ppdc                                     2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common                            2.2.7-1ubuntu2.2                             all          Common UNIX Printing System(tm) - server common files
ii  libcups2:amd64                                2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - Core library
ii  libcups2:i386                                 2.2.7-1ubuntu2.2                             i386         Common UNIX Printing System(tm) - Core library
ii  libcupscgi1:amd64                             2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - CGI library
ii  libcupsfilters1:amd64                         1.20.2-0ubuntu3                              amd64        OpenPrinting CUPS Filters - Shared library
ii  libcupsimage2:amd64                           2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - Raster image library
ii  libcupsmime1:amd64                            2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - MIME library
ii  libcupsppdc1:amd64                            2.2.7-1ubuntu2.2                             amd64        Common UNIX Printing System(tm) - PPD manipulation library
ii  printer-driver-hpcups                         3.17.10+repack0-5                            amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  python3-cups                                  1.9.73-2                                     amd64        Python3 bindings for CUPS
ii  python3-cupshelpers                           1.5.11-1ubuntu2                              all          Python utility modules around the CUPS printing system
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: HP Laser Jet Pro MFP M26nw

Messaggio da magozurlinux »

Da terminale connesso ad Internet dai questo comando:

Codice: Seleziona tutto

hp-plugin
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
PISEMASA55
Prode Principiante
Messaggi: 24
Iscrizione: lunedì 19 novembre 2018, 5:59
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.1 LTS
Sesso: Maschile

Re: HP Laser Jet Pro MFP M26nw

Messaggio da PISEMASA55 »

Questo il risultato a: hp-plugin

Codice: Seleziona tutto

sebastianelli@sebastianelli-HP-290-G2-MT-Business-PC:~$ hp-plugin

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Download and Install Utility ver. 2.1

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.17.10)
Plugin Download and Install Utility ver. 2.1

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 network connection...
Downloading plug-in from: 
Receiving digital keys: /usr/bin/gpg --homedir /home/sebastianelli/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.17.10 Plugin Self Extracting Archive................................................

HP Linux Imaging and Printing System (ver. 3.17.10)
Plugin Installer ver. 3.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.

Plug-in version: 3.17.10
Installed HPLIP version: 3.17.10
Number of files to install: 42

note: Using PyQt5
 
Done.
 Plug-in installation successful 

Done.
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: HP Laser Jet Pro MFP M26nw

Messaggio da magozurlinux »

OK!

Ridai il comando da terminale:

Codice: Seleziona tutto

sudo hp-setup -i
Se arriva a questo punto

Codice: Seleziona tutto

Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? 
rispondi y e metti questo percorso:

Codice: Seleziona tutto

/etc/cups/ppd/HP_LaserJet_Pro_MFP_M26nw_139AEB_.ppd
procedi con l'installazione.
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
PISEMASA55
Prode Principiante
Messaggi: 24
Iscrizione: lunedì 19 novembre 2018, 5:59
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.1 LTS
Sesso: Maschile

Re: HP Laser Jet Pro MFP M26nw

Messaggio da PISEMASA55 »

Ecco quello che è successo seguendo il tuo suggerimento:

Codice: Seleziona tutto

sebastianelli@sebastianelli-HP-290-G2-MT-Business-PC:~$ sudo hp-setup -i
[sudo] password di sebastianelli: 

HP Linux Imaging and Printing System (ver. 3.17.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.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num       Connection  Description                                               
            Type                                                                  
  --------  ----------  ----------------------------------------------------------
  0*        usb         Universal Serial Bus (USB)                                
  1         net         Network/Ethernet/Wireless (direct connection or JetDirect)
  2         par         Parallel Port (LPT:)                                      

Enter number 0...2 for connection type (q=quit, enter=usb*) ? 0

Using connection type: usb

 
Setting up device: hp:/usb/HP_LaserJet_Pro_MFP_M26nw?serial=CNB6JD9BS6



---------------------
| PRINT QUEUE SETUP |
---------------------


Please enter a name for this print queue (m=use model name:'HP_LaserJet_Pro_MFP_M26nw'*, q=quit) ?m
Using queue name: HP_LaserJet_Pro_MFP_M26nw
Locating PPD file... Please wait.
error: No PPD found for model laserjet_pro_mfp_m26nw using old algorithm.
error: Unable to find an appropriate PPD file.

Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? y

B_.ppd enter the full filesystem path to the PPD file to use (q=quit) :/etc/cups/ppd/HP_LaserJet_Pro_MFP_M26nw_139AEB
Description for the file: LaserJet Pro MFP M26nw

Use this file (y=yes*, n=no, q=quit) ? y
Enter a location description for this printer (q=quit) ?
Enter additonal information or notes for this printer (q=quit) ?

Adding print queue to CUPS:
Device URI: hp:/usb/HP_LaserJet_Pro_MFP_M26nw?serial=CNB6JD9BS6
Queue name: HP_LaserJet_Pro_MFP_M26nw
PPD file: /etc/cups/ppd/HP_LaserJet_Pro_MFP_M26nw_139AEB_.ppd
Location: 
Information: 


---------------------
| PRINTER TEST PAGE |
---------------------


Would you like to print a test page (y=yes*, n=no, q=quit) ? y
warning: hp-testpage should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.17.10)
Testpage Print Utility ver. 6.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.

error: No device found that support this feature.
error: No installed printers found (or) Invalid printer device selected

Done.
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: sm9500 e 22 ospiti