[Risolto] - printer HP-LaserJet-Professional-P-1102w non funziona

Riconoscimento, installazione e configurazione delle periferiche.
paride46
Prode Principiante
Messaggi: 34
Iscrizione: lunedì 26 ottobre 2020, 12:47
Desktop: Gnome 3.36.3
Distribuzione: Ubuntu 20.04.1 LTS 64-bit
Sesso: Maschile
Località: Milano

[Risolto] - printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da paride46 »

Ho installato Ubuntu 20.04.1 LTS.
ho seguito le istruzioni sul sito https://developers.hp.com/hp-linux-imag ... tall/index per l'installazione della stampante HP-LaserJet-Professional-P-1102w scaricando file hplip-3.20.9.run.
Ho digitato da terminale sh hplip-3.20.9.run ed effettuato l'installazione.
La stampante è comparsa nel pannello Impostazioni/stampanti. E' comparsa anche un'icona nella barra di Ubuntu ma se clicco su HP Device manager mi risponde No installed HP devices found.
Cliccando su diagnose hplip driver si apre una finestra di terminale dove alla fine compare:

Codice: Seleziona tutto

HP-LaserJet-Professional-P-1102w
--------------------------------
Type: Unknown
Device URI: socket://192.168.1.199
PPD: /etc/cups/ppd/HP-LaserJet-Professional-P-1102w.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-Professional-P-1102w.ppd ppd file
PPD Description: 
Printer status: la stampante HP-LaserJet-Professional-P-1102w è inattiva.  è stata abilitata da gio 22 ott 2020, 01:43:36
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Checking Permissions....


Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/HP-LaserJet-Professional-P-1102w.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/HP-LaserJet-Professional-P-1102w.ppd
warning: Could not complete Queue(s) configuration check


Checking for HP Properitery Plugin's....
No plug-in printers are configured.
 
Diagnose completed...
La stampante non funziona.
Sono un neofita di Ubuntu (linux). c'è qualcuno in grado di aiutarmi?
Grazie.
Ultima modifica di paride46 il venerdì 11 dicembre 2020, 12:53, modificato 3 volte in totale.
Nexol
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1169
Iscrizione: venerdì 13 novembre 2009, 10:15

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da Nexol »

paride46 ha scritto:
lunedì 26 ottobre 2020, 19:03

Codice: Seleziona tutto

warning: Insufficient permission to access file /etc/cups/ppd/HP-LaserJet-Professional-P-1102w.ppd
Durante l'installazione ti ha chiesto di inserire la password da amministratore (step 5 della guida)? Se si, sicuro di averla inserita correttamente? Se si, allora fai una prova avviando lo script d'installazione direttamente come amministratore:

Codice: Seleziona tutto

sudo sh hplip-3.20.9.run
Ubuntu 20.04 --> Notebook Dell 1747 - Intel Core i7-720QM - 8GB Ram - Scheda grafica AMD Mobility Radeon HD 4650 1GB Ram con driver radeon
saxtro
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2981
Iscrizione: domenica 4 giugno 2006, 13:16
Distribuzione: Kubuntu 20.04

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da saxtro »

per i permessi devi aggiungere il tuo utente al gruppo "lp"

il file menzionato ha permessi 640 e owner root:lp

Aggiunto: è certo che la password inserita fosse corretta, altrimenti con il tuo utente non avresti potuto caricare il ppd sotto /etc/cups/ppd
paride46
Prode Principiante
Messaggi: 34
Iscrizione: lunedì 26 ottobre 2020, 12:47
Desktop: Gnome 3.36.3
Distribuzione: Ubuntu 20.04.1 LTS 64-bit
Sesso: Maschile
Località: Milano

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da paride46 »

Ho seguito i consigli e gli errori di autorizzazione sono spariti, ma la stampante non funziona ancora.
riporto fine installazione

Codice: Seleziona tutto

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_LaserJet_Professional_P_1102w
--------------------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_Professional_P_1102w?ip=192.168.1.199
PPD: /etc/cups/ppd/HP_LaserJet_Professional_P_1102w.ppd
PPD Description: HP LaserJet Professional p 1102w, hpcups 3.20.9
Printer status: la stampante HP_LaserJet_Professional_P_1102w è inattiva.  è stata abilitata da mar 27 ott 2020, 13:09:18
Communication status: Good
--------------
| PERMISSION |
--------------
Checking for Configured Queues....
 
Queue(s) configured correctly using HPLIP.

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

Ho lanciato il comando HP plugin che si è bloccato (vedi di seguito)

paride@paride-System-Product-Name:~$ hp-plugin

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

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

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 network connection...
Downloading plug-in from: None
Traceback (most recent call last):
  File "/usr/share/hplip/base/password.py", line 85, in get_distro_name
    os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/plugindialog.py", line 248, in NextButton_clicked
    status, download_plugin_file, error_str = self.pluginObj.download(self.plugin_path,self.plugin_download_callback)
  File "/usr/share/hplip/installer/pluginhandler.py", line 254, in download
    core = core_install.CoreInstall()
  File "/usr/share/hplip/installer/core_install.py", line 241, in __init__
    self.passwordObj = password.Password(ui_mode)
  File "/usr/share/hplip/base/password.py", line 118, in __init__
    self.__readAuthType()  # self.__authType
  File "/usr/share/hplip/base/password.py", line 141, in __readAuthType
    distro_name = get_distro_name().lower().replace(" ","")
  File "/usr/share/hplip/base/password.py", line 88, in get_distro_name
    os_name = distro.linux_distribution()[0]
  File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
    return _distro.linux_distribution(full_distribution_name)
  File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
    self.version(),
  File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
    self.lsb_release_attr('release'),
  File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
    return self._lsb_release_info.get(attribute, '')
  File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
    ret = obj.__dict__[self._fname] = self._f(obj)
  File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
    stdout = subprocess.check_output(cmd, stderr=devnull)
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
PermissionError: [Errno 13] Permesso negato: '/var/crash/_usr_share_hplip_plugin.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/share/hplip/base/password.py", line 85, in get_distro_name
    os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/plugindialog.py", line 248, in NextButton_clicked
    status, download_plugin_file, error_str = self.pluginObj.download(self.plugin_path,self.plugin_download_callback)
  File "/usr/share/hplip/installer/pluginhandler.py", line 254, in download
    core = core_install.CoreInstall()
  File "/usr/share/hplip/installer/core_install.py", line 241, in __init__
    self.passwordObj = password.Password(ui_mode)
  File "/usr/share/hplip/base/password.py", line 118, in __init__
    self.__readAuthType()  # self.__authType
  File "/usr/share/hplip/base/password.py", line 141, in __readAuthType
    distro_name = get_distro_name().lower().replace(" ","")
  File "/usr/share/hplip/base/password.py", line 88, in get_distro_name
    os_name = distro.linux_distribution()[0]
  File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
    return _distro.linux_distribution(full_distribution_name)
  File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
    self.version(),
  File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
    self.lsb_release_attr('release'),
  File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
    return self._lsb_release_info.get(attribute, '')
  File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
    ret = obj.__dict__[self._fname] = self._f(obj)
  File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
    stdout = subprocess.check_output(cmd, stderr=devnull)
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Qui si è bloccato e non è tornato il prompt della riga di comando

grazie mille a chi mi aiuterà a risolvere il problema
Ultima modifica di trekfan1 il venerdì 11 dicembre 2020, 12:08, modificato 1 volta in totale.
Motivazione: Inseriti i tag CODE (tasto </>) ricordalo per il futuro
Nexol
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1169
Iscrizione: venerdì 13 novembre 2009, 10:15

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da Nexol »

Sono di corsa... l'errore
paride46 ha scritto:
mercoledì 28 ottobre 2020, 2:34

Codice: Seleziona tutto

Traceback (most recent call last):
File "/usr/share/hplip/base/password.py", line 85, in get_distro_name
os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'
è causato da Python 3.8 installato di default su Ubuntu 20.04 che ha rimosso la chiamata a platform.linux_distribution da cui l'errore (qui qualche particolare in più)

Questo però fa capire che lo script d'installazione HP che invoca Python per l'installazione dei plugin non è aggiornato per l'uso con Ubuntu 20.04, una soluzione potrebbe essere l'installazione tramite pyenv di una versione precedente di Python, es. la 3.5, e vedere come va.
Ubuntu 20.04 --> Notebook Dell 1747 - Intel Core i7-720QM - 8GB Ram - Scheda grafica AMD Mobility Radeon HD 4650 1GB Ram con driver radeon
paride46
Prode Principiante
Messaggi: 34
Iscrizione: lunedì 26 ottobre 2020, 12:47
Desktop: Gnome 3.36.3
Distribuzione: Ubuntu 20.04.1 LTS 64-bit
Sesso: Maschile
Località: Milano

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da paride46 »

Copiato tutto e immesso da terminale
risultato:

Codice: Seleziona tutto

paride@paride-System-Product-Name:~$ Traceback (most recent call last):
bash: errore di sintassi vicino al token non atteso "most"
paride@paride-System-Product-Name:~$ File "/usr/share/hplip/base/password.py", line 85, in get_distro_name

Comando «File» non trovato, si intendeva forse:

  comando «zile» da deb zile (2.4.14-7build1)
  comando «kile» da deb kile (4:2.9.93-1build1)
  comando «file» da deb file (1:5.38-4)
  comando «vile» da deb vile (9.8t-3build1)

Provare: sudo apt install <nome deb>

paride@paride-System-Product-Name:~$ os_name = platform.dist()[0]
bash: errore di sintassi vicino al token non atteso "("
paride@paride-System-Product-Name:~$ AttributeError: module 'platform' has no attribute 'dist'
AttributeError:: comando non trovato
Grazie per la pazienza.
Ultima modifica di trekfan1 il venerdì 11 dicembre 2020, 12:08, modificato 1 volta in totale.
Motivazione: Inseriti i tag CODE (tasto </>) ricordalo per il futuro
saxtro
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2981
Iscrizione: domenica 4 giugno 2006, 13:16
Distribuzione: Kubuntu 20.04

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da saxtro »

Con python2 dovrebbe funzionare.
Puoi lanciare cosi il tuo comando:

Codice: Seleziona tutto

python2 /usr/bin/hp-plugin
Nexol
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1169
Iscrizione: venerdì 13 novembre 2009, 10:15

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da Nexol »

paride46 ha scritto:
mercoledì 28 ottobre 2020, 12:00
Copiato tutto e immesso da terminale
Ma dove ho scritto che erano comandi da usare in un terminale? :nono:
Ubuntu 20.04 --> Notebook Dell 1747 - Intel Core i7-720QM - 8GB Ram - Scheda grafica AMD Mobility Radeon HD 4650 1GB Ram con driver radeon
Roberto Pontecorvi
Rampante Reduce
Rampante Reduce
Messaggi: 6634
Iscrizione: mercoledì 20 maggio 2009, 22:48
Distribuzione: 18.4 mate - 22.4 mate
Sesso: Maschile
Località: Versilia

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da Roberto Pontecorvi »

E' quasi una cosa normale, il file viene salvato in una directory che ha i permessi di root. Vai in quella directory e cambia i permessi al file.
saxtro
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2981
Iscrizione: domenica 4 giugno 2006, 13:16
Distribuzione: Kubuntu 20.04

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da saxtro »

Roberto Pontecorvi ha scritto:
mercoledì 28 ottobre 2020, 19:49
E' quasi una cosa normale, il file viene salvato in una directory che ha i permessi di root. Vai in quella directory e cambia i permessi al file.
Leggete la documentazione .....
Si deve aggiungere l'utente / gli utenti che deve/devono stampare al gruppo "lp",
non taroccare i permessi sul file ....

https://developers.hp.com/hp-linux-imag ... leshooting
paride46
Prode Principiante
Messaggi: 34
Iscrizione: lunedì 26 ottobre 2020, 12:47
Desktop: Gnome 3.36.3
Distribuzione: Ubuntu 20.04.1 LTS 64-bit
Sesso: Maschile
Località: Milano

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da paride46 »

Sono nel gruppo lp

Codice: Seleziona tutto

paride@paride-System-Product-Name:~$ groups
paride adm lp cdrom sudo dip plugdev lpadmin lxd sambashare
Oggi all'accensione del PC lo status della printer in hp device manager segnala:

Codice: Seleziona tutto

Device communication error gio ott 29 10:34:37 (2020) code 5012
Ultima modifica di trekfan1 il venerdì 11 dicembre 2020, 12:09, modificato 1 volta in totale.
Motivazione: Inseriti i tag CODE (tasto </>) ricordalo per il futuro
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 25004
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: xubuntu
Distribuzione: Xubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da magozurlinux »

Da terminale postami questi comandi con la stampante accesa:

Codice: Seleziona tutto

cat /var/log/cups/error_log

Codice: Seleziona tutto

lpstat -t

Codice: Seleziona tutto

lsusb

Codice: Seleziona tutto

dmesg | grep usb
Xubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
paride46
Prode Principiante
Messaggi: 34
Iscrizione: lunedì 26 ottobre 2020, 12:47
Desktop: Gnome 3.36.3
Distribuzione: Ubuntu 20.04.1 LTS 64-bit
Sesso: Maschile
Località: Milano

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da paride46 »

Codice: Seleziona tutto

paride@paride-System-Product-Name:~$ ping 192.168.1.199
PING 192.168.1.199 (192.168.1.199) 56(84) bytes of data.
64 bytes from 192.168.1.199: icmp_seq=1 ttl=254 time=3.39 ms

^Z
[3]+  Fermato                 ping 192.168.1.199

paride@paride-System-Product-Name:~$ cat /var/log/cups/error_log
E [29/Oct/2020:00:00:05 +0100] Unknown directive JobPrivateAccess on line 124 of /etc/cups/cupsd.conf.
E [29/Oct/2020:00:00:05 +0100] Unknown directive JobPrivateValues on line 125 of /etc/cups/cupsd.conf.
E [29/Oct/2020:00:00:05 +0100] Unknown directive SubscriptionPrivateAccess on line 126 of /etc/cups/cupsd.conf.
E [29/Oct/2020:00:00:05 +0100] Unknown directive SubscriptionPrivateValues on line 127 of /etc/cups/cupsd.conf.
E [29/Oct/2020:10:31:34 +0100] Unknown directive JobPrivateAccess on line 124 of /etc/cups/cupsd.conf.
E [29/Oct/2020:10:31:34 +0100] Unknown directive JobPrivateValues on line 125 of /etc/cups/cupsd.conf.
E [29/Oct/2020:10:31:34 +0100] Unknown directive SubscriptionPrivateAccess on line 126 of /etc/cups/cupsd.conf.
E [29/Oct/2020:10:31:34 +0100] Unknown directive SubscriptionPrivateValues on line 127 of /etc/cups/cupsd.conf.
E [29/Oct/2020:18:18:33 +0100] [Job 19] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
D [29/Oct/2020:18:18:33 +0100] [Job 19] The following messages were recorded from 18:17:28 to 18:18:33
D [29/Oct/2020:18:18:33 +0100] [Job 19] Applying default options...
D [29/Oct/2020:18:18:33 +0100] [Job 19] Adding start banner page "none".
D [29/Oct/2020:18:18:33 +0100] [Job 19] Queued on "HP_LaserJet_Professional_P_1102w" by "paride".
D [29/Oct/2020:18:18:33 +0100] [Job 19] Auto-typing file...
D [29/Oct/2020:18:18:33 +0100] [Job 19] Request file type is application/postscript.
D [29/Oct/2020:18:18:33 +0100] [Job 19] File of type application/postscript queued by "paride".
D [29/Oct/2020:18:18:33 +0100] [Job 19] Adding end banner page "none".
D [29/Oct/2020:18:18:33 +0100] [Job 19] time-at-processing=1603991848
D [29/Oct/2020:18:18:33 +0100] [Job 19] 4 filters for job:
D [29/Oct/2020:18:18:33 +0100] [Job 19] gstopdf (application/postscript to application/pdf, cost 0)
D [29/Oct/2020:18:18:33 +0100] [Job 19] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [29/Oct/2020:18:18:33 +0100] [Job 19] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [29/Oct/2020:18:18:33 +0100] [Job 19] hpcups (application/vnd.cups-raster to printer/HP_LaserJet_Professional_P_1102w, cost 0)
D [29/Oct/2020:18:18:33 +0100] [Job 19] job-sheets=none,none
D [29/Oct/2020:18:18:33 +0100] [Job 19] argv[0]="HP_LaserJet_Professional_P_1102w"
D [29/Oct/2020:18:18:33 +0100] [Job 19] argv[1]="19"
D [29/Oct/2020:18:18:33 +0100] [Job 19] argv[2]="paride"
D [29/Oct/2020:18:18:33 +0100] [Job 19] argv[3]="tmp7tjl05a0"
D [29/Oct/2020:18:18:33 +0100] [Job 19] argv[4]="1"
D [29/Oct/2020:18:18:33 +0100] [Job 19] argv[5]="finishings=3 number-up=1 job-uuid=urn:uuid:53ee7694-2a7e-3228-7f41-029dc9fb4d0b job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1603991848 time-at-processing=1603991848 document-name-supplied=tmp7tjl05a0"
D [29/Oct/2020:18:18:33 +0100] [Job 19] argv[6]="/var/spool/cups/d00019-001"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[7]="CUPS_STATEDIR=/run/cups"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[8]="HOME=/var/spool/cups/tmp"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[10]="SERVER_ADMIN=root@paride-System-Product-Name"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[11]="SOFTWARE=CUPS/2.3.1"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[13]="USER=root"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[14]="CUPS_MAX_MESSAGE=2047"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[17]="IPP_PORT=631"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[18]="CHARSET=utf-8"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[19]="LANG=it_IT.UTF-8"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[20]="PPD=/etc/cups/ppd/HP_LaserJet_Professional_P_1102w.ppd"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[21]="RIP_MAX_CACHE=128m"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[22]="CONTENT_TYPE=application/postscript"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[23]="DEVICE_URI=hp:/net/HP_LaserJet_Professional_P_1102w?ip=192.168.1.199"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[24]="PRINTER_INFO="
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[25]="PRINTER_LOCATION=bimbo room"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[26]="PRINTER=HP_LaserJet_Professional_P_1102w"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[27]="PRINTER_STATE_REASONS=none"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[28]="CUPS_FILETYPE=document"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[30]="AUTH_I****"
D [29/Oct/2020:18:18:33 +0100] [Job 19] Started filter /usr/lib/cups/filter/gstopdf (PID 7984)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Started filter /usr/lib/cups/filter/pdftopdf (PID 7986)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Started filter /usr/lib/cups/filter/gstoraster (PID 7988)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Started filter /usr/lib/cups/filter/hpcups (PID 7989)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Started backend /usr/lib/cups/backend/hp (PID 7990)
D [29/Oct/2020:18:18:33 +0100] [Job 19] gstopdf argv[6] = 19 paride tmp7tjl05a0 1 finishings=3 number-up=1 job-uuid=urn:uuid:53ee7694-2a7e-3228-7f41-029dc9fb4d0b job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1603991848 time-at-processing=1603991848 document-name-supplied=tmp7tjl05a0 /var/spool/cups/d00019-001
D [29/Oct/2020:18:18:33 +0100] [Job 19] PPD: /etc/cups/ppd/HP_LaserJet_Professional_P_1102w.ppd
D [29/Oct/2020:18:18:33 +0100] [Job 19] OUTFORMAT=\"(null)\", so output format will be CUPS/PWG Raster
D [29/Oct/2020:18:18:33 +0100] [Job 19] OUTFORMAT=\"PDF\", so output format will be PDF
D [29/Oct/2020:18:18:33 +0100] [Job 19] pdftopdf: Last filter determined by the PPD: hpcups; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log.
D [29/Oct/2020:18:18:33 +0100] [Job 19] Color Manager: Calibration Mode/Off
D [29/Oct/2020:18:18:33 +0100] [Job 19] Calling FindDeviceById(cups-HP_LaserJet_Professional_P_1102w)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Professional_P_1102w
D [29/Oct/2020:18:18:33 +0100] [Job 19] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Calling FindDeviceById(cups-HP_LaserJet_Professional_P_1102w)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Professional_P_1102w
D [29/Oct/2020:18:18:33 +0100] [Job 19] Calling GetProfileForQualifiers(Gray.Plain....)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Found profile /org/freedesktop/ColorManager/profiles/HP_LaserJet_Professional_P_1102w_Gray__
D [29/Oct/2020:18:18:33 +0100] [Job 19] Calling org.freedesktop.ColorManager.Profile.Get(Filename)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Use profile filename: \'\'
D [29/Oct/2020:18:18:33 +0100] [Job 19] Color Manager: ICC Profile: 
D [29/Oct/2020:18:18:33 +0100] [Job 19] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [29/Oct/2020:18:18:33 +0100] [Job 19] Ghostscript command line: gs -dQUIET -dSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged -r600x600 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -I/usr/share/cups/fonts -c \'<</.HWMargins[18.000000 15.500000 18.000000 15.500000] /Margins[0 0]>>setpagedevice\' -f -_
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[0]=\"CONTENT_TYPE=application/postscript\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[1]=\"PRINTER_INFO=\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[2]=\"USER=root\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[3]=\"CUPS_SERVER=/run/cups/cups.sock\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[4]=\"HOME=/var/spool/cups/tmp\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[5]=\"RIP_MAX_CACHE=128m\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[6]=\"CUPS_SERVERROOT=/etc/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[7]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[8]=\"PRINTER_STATE_REASONS=none\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[9]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[10]=\"OUTFORMAT=PDF\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[11]=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[12]=\"DEVICE_URI=hp:/net/HP_LaserJet_Professional_P_1102w?ip=192.168.1.199\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[13]=\"CUPS_STATEDIR=/run/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[14]=\"CUPS_MAX_MESSAGE=2047\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[15]=\"LANG=it_IT.UTF-8\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[16]=\"CUPS_SERVERBIN=/usr/lib/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[17]=\"CUPS_FILETYPE=document\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[18]=\"PPD=/etc/cups/ppd/HP_LaserJet_Professional_P_1102w.ppd\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[19]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[20]=\"IPP_PORT=631\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[21]=\"AUTH_INFO_REQUIRED=none\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[22]=\"PRINTER_LOCATION=bimbo room\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[23]=\"CUPS_DOCROOT=/usr/share/cups/doc-root\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[24]=\"SERVER_ADMIN=root@paride-System-Product-Name\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[25]=\"PWD=/\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[26]=\"CHARSET=utf-8\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[27]=\"PRINTER=HP_LaserJet_Professional_P_1102w\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[28]=\"SOFTWARE=CUPS/2.3.1\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[29]=\"CUPS_DATADIR=/usr/share/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[30]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[31]=\"CUPS_ENCRYPTION=IfRequested\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] PID 7984 (/usr/lib/cups/filter/gstopdf) exited with no errors.
D [29/Oct/2020:18:18:33 +0100] [Job 19] PDF interactive form and annotation flattening done via QPDF
D [29/Oct/2020:18:18:33 +0100] [Job 19] PID 7986 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [29/Oct/2020:18:18:33 +0100] [Job 19] Color Manager: Calibration Mode/Off
D [29/Oct/2020:18:18:33 +0100] [Job 19] Calling FindDeviceById(cups-HP_LaserJet_Professional_P_1102w)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Professional_P_1102w
D [29/Oct/2020:18:18:33 +0100] [Job 19] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Calling FindDeviceById(cups-HP_LaserJet_Professional_P_1102w)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Professional_P_1102w
D [29/Oct/2020:18:18:33 +0100] [Job 19] Calling GetProfileForQualifiers(Gray.Plain....)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Found profile /org/freedesktop/ColorManager/profiles/HP_LaserJet_Professional_P_1102w_Gray__
D [29/Oct/2020:18:18:33 +0100] [Job 19] Calling org.freedesktop.ColorManager.Profile.Get(Filename)
D [29/Oct/2020:18:18:33 +0100] [Job 19] Use profile filename: \'\'
D [29/Oct/2020:18:18:33 +0100] [Job 19] Color Manager: ICC Profile: 
D [29/Oct/2020:18:18:33 +0100] [Job 19] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [29/Oct/2020:18:18:33 +0100] [Job 19] Ghostscript command line: gs -dQUIET -dSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -sMediaType=Plain -sOutputType=0 -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -dcupsRowCount=1 -dcupsRowStep=2 -dcupsInteger0=9 -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c \'<</.HWMargins[18.000000 15.500000 18.000000 15.500000] /Margins[0 0]>>setpagedevice\' -f -_
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[1]=\"CUPS_DATADIR=/usr/share/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[2]=\"CUPS_DOCROOT=/usr/share/cups/doc-root\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[5]=\"CUPS_SERVERBIN=/usr/lib/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[6]=\"CUPS_SERVERROOT=/etc/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[7]=\"CUPS_STATEDIR=/run/cups\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[8]=\"HOME=/var/spool/cups/tmp\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[9]=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[10]=\"SERVER_ADMIN=root@paride-System-Product-Name\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[11]=\"SOFTWARE=CUPS/2.3.1\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[12]=\"USER=root\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[13]=\"CUPS_MAX_MESSAGE=2047\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[14]=\"CUPS_SERVER=/run/cups/cups.sock\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[15]=\"CUPS_ENCRYPTION=IfRequested\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[16]=\"IPP_PORT=631\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[17]=\"CHARSET=utf-8\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[18]=\"LANG=it_IT.UTF-8\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[19]=\"PPD=/etc/cups/ppd/HP_LaserJet_Professional_P_1102w.ppd\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[20]=\"RIP_MAX_CACHE=128m\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[21]=\"CONTENT_TYPE=application/postscript\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[22]=\"DEVICE_URI=hp:/net/HP_LaserJet_Professional_P_1102w?ip=192.168.1.199\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[23]=\"PRINTER_INFO=\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[24]=\"PRINTER_LOCATION=bimbo room\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[25]=\"PRINTER=HP_LaserJet_Professional_P_1102w\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[26]=\"PRINTER_STATE_REASONS=none\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[27]=\"CUPS_FILETYPE=document\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[28]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] envp[29]=\"AUTH_INFO_REQUIRED=none\"
D [29/Oct/2020:18:18:33 +0100] [Job 19] Start rendering...
D [29/Oct/2020:18:18:33 +0100] [Job 19] Set job-printer-state-message to "Start rendering...", current level=INFO
D [29/Oct/2020:18:18:33 +0100] [Job 19] Processing page 1...
D [29/Oct/2020:18:18:33 +0100] [Job 19] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [29/Oct/2020:18:18:33 +0100] [Job 19] prnt/hpcups/HPCupsFilter.cpp 647: DEBUG: imageProcessorStartPage failed result = 2
D [29/Oct/2020:18:18:33 +0100] [Job 19] STATE: +connecting-to-device
D [29/Oct/2020:18:18:33 +0100] [Job 19] STATE: +hplip.plugin-error
D [29/Oct/2020:18:18:33 +0100] [Job 19] prnt/hpcups/HPCupsFilter.cpp 490: m_Job initialization failed with error = 48
D [29/Oct/2020:18:18:33 +0100] [Job 19] STATE: -connecting-to-device
D [29/Oct/2020:18:18:33 +0100] [Job 19] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other
D [29/Oct/2020:18:18:33 +0100] [Job 19] PID 7989 (/usr/lib/cups/filter/hpcups) crashed on signal 11.
D [29/Oct/2020:18:18:33 +0100] [Job 19] Hint: Try setting the LogLevel to "debug" to find out more.
D [29/Oct/2020:18:18:33 +0100] [Job 19] Processing page 2...
D [29/Oct/2020:18:18:33 +0100] [Job 19] Rendering completed
D [29/Oct/2020:18:18:33 +0100] [Job 19] PID 7988 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [29/Oct/2020:18:18:33 +0100] [Job 19] ready to print
D [29/Oct/2020:18:18:33 +0100] [Job 19] PID 7990 (/usr/lib/cups/backend/hp) exited with no errors.
D [29/Oct/2020:18:18:33 +0100] [Job 19] End of messages
D [29/Oct/2020:18:18:33 +0100] [Job 19] printer-state=3(idle)
D [29/Oct/2020:18:18:33 +0100] [Job 19] printer-state-message="ready to print"
D [29/Oct/2020:18:18:33 +0100] [Job 19] printer-state-reasons=none

paride@paride-System-Product-Name:~$ lpstat -t
lo scheduler è in funzione
nessuna destinazione predefinita di sistema
dispositivo per HP_LaserJet_Professional_P_1102w: hp:/net/HP_LaserJet_Professional_P_1102w?ip=192.168.1.199
HP_LaserJet_Professional_P_1102w sta accettando richieste da gio 29 ott 2020, 18:18:33
la stampante HP_LaserJet_Professional_P_1102w è inattiva.  è stata abilitata da gio 29 ott 2020, 18:18:33
	ready to print
HP_LaserJet_Professional_P_1102w-19 paride          422912   gio 29 ott 2020, 18:17:28

paride@paride-System-Product-Name:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

segue ultimo comando
Ultima modifica di trekfan1 il venerdì 11 dicembre 2020, 12:09, modificato 2 volte in totale.
Motivazione: Inseriti i tag CODE (tasto </>) ricordalo per il futuro
paride46
Prode Principiante
Messaggi: 34
Iscrizione: lunedì 26 ottobre 2020, 12:47
Desktop: Gnome 3.36.3
Distribuzione: Ubuntu 20.04.1 LTS 64-bit
Sesso: Maschile
Località: Milano

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da paride46 »

Nexol ha scritto:
mercoledì 28 ottobre 2020, 14:33
paride46 ha scritto:
mercoledì 28 ottobre 2020, 12:00
Copiato tutto e immesso da terminale
Ma dove ho scritto che erano comandi da usare in un terminale? :nono:
Scusa avevo capito male. Cercherò di capire come usare pyenv per installare una versione precedente di Python, es. la 3.5, e vedere come va. Purtroppo ho scoperto Ubuntu da pochissimo e sono un po' in difficoltà
saxtro
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2981
Iscrizione: domenica 4 giugno 2006, 13:16
Distribuzione: Kubuntu 20.04

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da saxtro »

Stando a quanto documentato qua:
https://developers.hp.com/hp-linux-imag ... nal_p1102w

Finchè non installi il plugin, la tua stampante non funzionerà.
Hai provato ad installarlo con python2?

Codice: Seleziona tutto

python2 /usr/bin/hp-plugin
Sul mio PC e hplip 3.20.3, non funziona neanche con python3.5
paride46
Prode Principiante
Messaggi: 34
Iscrizione: lunedì 26 ottobre 2020, 12:47
Desktop: Gnome 3.36.3
Distribuzione: Ubuntu 20.04.1 LTS 64-bit
Sesso: Maschile
Località: Milano

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da paride46 »

magozurlinux ha scritto:
giovedì 29 ottobre 2020, 11:37
Da terminale postami questi comandi con la stampante accesa:

Codice: Seleziona tutto

cat /var/log/cups/error_log

Codice: Seleziona tutto

lpstat -t

Codice: Seleziona tutto

lsusb

Codice: Seleziona tutto

dmesg | grep usb
continua da risposta precedente con ultimo comando.

Codice: Seleziona tutto

paride@paride-System-Product-Name:~$ dmesg | grep usb
[    0.475007] usbcore: registered new interface driver usbfs
[    0.475007] usbcore: registered new interface driver hub
[    0.475007] usbcore: registered new device driver usb
[    0.541451] pci 0000:00:02.0: quirk_usb_early_handoff+0x0/0x662 took 21838 usecs
[    0.993436] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.993438] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.993440] usb usb1: Product: EHCI Host Controller
[    0.993442] usb usb1: Manufacturer: Linux 5.4.0-52-generic ehci_hcd
[    0.993444] usb usb1: SerialNumber: 0000:00:02.1
[    1.055354] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[    1.055356] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.055357] usb usb2: Product: OHCI PCI host controller
[    1.055359] usb usb2: Manufacturer: Linux 5.4.0-52-generic ohci_hcd
[    1.055360] usb usb2: SerialNumber: 0000:00:02.0
[    1.056539] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    1.056541] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.056543] usb usb3: Product: xHCI Host Controller
[    1.056545] usb usb3: Manufacturer: Linux 5.4.0-52-generic xhci-hcd
[    1.056546] usb usb3: SerialNumber: 0000:04:00.0
[    1.056873] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.056907] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    1.056909] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.056910] usb usb4: Product: xHCI Host Controller
[    1.056912] usb usb4: Manufacturer: Linux 5.4.0-52-generic xhci-hcd
[    1.056913] usb usb4: SerialNumber: 0000:04:00.0
[    1.397338] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[    1.546814] usb 3-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
[    1.546816] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.546818] usb 3-1: Product: USB2.0 Hub
[    1.593318] usb 2-3: new low-speed USB device number 2 using ohci-pci
[    1.825356] usb 2-3: New USB device found, idVendor=093a, idProduct=2510, bcdDevice= 1.00
[    1.825358] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.825360] usb 2-3: Product: USB Optical Mouse
[    1.825361] usb 2-3: Manufacturer: PixArt
[    1.842631] usbcore: registered new interface driver usbhid
[    1.842633] usbhid: USB HID core driver
[    1.847019] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.0/0003:093A:2510.0001/input/input5
[    1.847159] hid-generic 0003:093A:2510.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:02.0-3/input0
[    7.340157] audit: type=1400 audit(1603963893.743:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ippusbxd" pid=657 comm="apparmor_parser"
[ 9211.877323] usb 1-2: new high-speed USB device number 3 using ehci-pci
[ 9212.035924] usb 1-2: New USB device found, idVendor=04b8, idProduct=0119, bcdDevice= 1.00
[ 9212.035928] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9212.035930] usb 1-2: Product: EPSON Scanner
[ 9212.035932] usb 1-2: Manufacturer: EPSON
[13757.366063] usb 1-2: USB disconnect, device number 3
paride@paride-System-Product-Name:~$
Ultima modifica di trekfan1 il venerdì 11 dicembre 2020, 12:10, modificato 1 volta in totale.
Motivazione: Inseriti i tag CODE (tasto </>) ricordalo per il futuro
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 25004
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: xubuntu
Distribuzione: Xubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da magozurlinux »

Da terminale postami questi comandi:

Codice: Seleziona tutto

dpkg -l | grep hplip

Codice: Seleziona tutto

dpkg -l | gtrp cups
Xubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
paride46
Prode Principiante
Messaggi: 34
Iscrizione: lunedì 26 ottobre 2020, 12:47
Desktop: Gnome 3.36.3
Distribuzione: Ubuntu 20.04.1 LTS 64-bit
Sesso: Maschile
Località: Milano

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da paride46 »

Codice: Seleziona tutto

paride@paride-System-Product-Name:~$ dpkg -l | grep hplip
rc  hplip                                         3.20.3+dfsg0-2                      amd64        HP Linux Printing and Imaging System (HPLIP)
ri  hplip-data                                    3.20.3+dfsg0-2                      all          HP Linux Printing and Imaging - data files

paride@paride-System-Product-Name:~$ dpkg -l | gtrp cups
gtrp: comando non trovato
paride@paride-System-Product-Name:~$
Ultima modifica di trekfan1 il venerdì 11 dicembre 2020, 12:10, modificato 1 volta in totale.
Motivazione: Inseriti i tag CODE (tasto </>) ricordalo per il futuro
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 25004
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: xubuntu
Distribuzione: Xubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da magozurlinux »

paride46 ha scritto:
venerdì 30 ottobre 2020, 10:02
paride@paride-System-Product-Name:~$ dpkg -l | grep hplip
rc hplip 3.20.3+dfsg0-2 amd64 HP Linux Printing and Imaging System (HPLIP)
ri hplip-data 3.20.3+dfsg0-2 all HP Linux Printing and Imaging - data files
hplip non è stato installato correttamente; da terminale dai questi comandi:

Codice: Seleziona tutto

sudo apt remove hplip hplip-data 

Codice: Seleziona tutto

sudo apt install hplip hplip-data hplip-gui
Xubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
saxtro
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2981
Iscrizione: domenica 4 giugno 2006, 13:16
Distribuzione: Kubuntu 20.04

Re: printer HP-LaserJet-Professional-P-1102w non funziona

Messaggio da saxtro »

mhhh, in realtà dovrebbe pulire l'installazione a metà che gli è rimasta. STando al primo post ha installato a mano hplip 3.20.9 (cosa non necessaria, la sua stampante è supportata a partire da hplip 3.10.4)
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot] e 12 ospiti