#1 Le 04/05/2023, à 18:39
- Guitar Watson
Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Bonjour à tous,
mon imprimante ne fonctionne plus (le scanner en revanche si) : quand je lance l'impression la tâche reste en attente et rien ne se passe.
Je l'ai désinstallée et réinstallée : d'habitude ça marche, mais là non. Quand je réinstalle j'ai ça :
paulin@station01:~$ hp-setup -ia
HP Linux Imaging and Printing System (ver. 3.21.12)
Printer/Fax Setup Utility ver. 9.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.
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 0
Using connection type: usb
Setting up device: hp:/usb/DeskJet_2700_series?serial=CN238DWJ6B
---------------------
| PRINT QUEUE SETUP |
---------------------
Using queue name: DeskJet_2700
Locating PPD file... Please wait.
Found PPD file: drv:///hp/hpcups.drv/hp-deskjet_2700_series.ppd
Description:
Adding print queue to CUPS:
Device URI: hp:/usb/DeskJet_2700_series?serial=CN238DWJ6B
Queue name: DeskJet_2700
PPD file: drv:///hp/hpcups.drv/hp-deskjet_2700_series.ppd
Location:
Information: DeskJet 2700 Device (Automatically setup by HPLIP)
---------------------
| PRINTER TEST PAGE |
---------------------
HP Linux Imaging and Printing System (ver. 3.21.12)
Testpage Print Utility ver. 6.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.
error: Unable to communicate with device (code=12): hp:/usb/DeskJet_2700_series?serial=CN238DWJ6B
error: Unable to print to printer. Please check device and try again.
note: If an error occured, or the test page failed to print, refer to the HPLIP website
note: at: http://hplip.sourceforge.net for troubleshooting and support.
Done.
Qelques infos :
paulin@station01:~$ dpkg -l cups
scanimage --version
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=att>
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-==============-===================-============-===========================>
ii cups 2.4.1op1-1ubuntu4.1 amd64 Common UNIX Printing System>
ESCOC
]
paulin@station01:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 009: ID 03f0:1853 HP, Inc DeskJet 2700 series
Bus 001 Device 004: ID 413c:2113 Dell Computer Corp. KB216 Wired Keyboard
Bus 001 Device 007: ID 0cf3:e005 Qualcomm Atheros Communications
Bus 001 Device 002: ID 413c:301c Dell Computer Corp. Dell Universal Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Merci d'avance pour vos conseils et pistes de solutions....
Dernière modification par Guitar Watson (Le 31/10/2023, à 12:22)
Hors ligne
#2 Le 06/05/2023, à 08:00
- grigouille
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Quelques pistes :
- débrancher/rebrancher le câble USB
- installer l'imprimante via le réseau
- tester en live USB
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#3 Le 06/05/2023, à 17:32
- inbox
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Salut,
Tu peux lancer cette commande et voir ce quelle suggère :
hp-doctor
A+
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#4 Le 20/07/2023, à 08:14
- Guitar Watson
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Désolé pour le temps de réponse.
Merci beaucoup pour votre aide.
@grigouille, j'ai installé l'imprimante via le réseau et ça marche effectivement, j'arrive à imprimer....
Dans la foulée j'ai réessayé d'installer en USB via hp-setup, et j'ai ça :
~$ hp-setup -ia
HP Linux Imaging and Printing System (ver. 3.21.12)
Printer/Fax Setup Utility ver. 9.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.
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 0
Using connection type: usb
Setting up device: hp:/usb/DeskJet_2700_series?serial=CN238DWJ6B
---------------------
| PRINT QUEUE SETUP |
---------------------
Using queue name: DeskJet_2700
Locating PPD file... Please wait.
Found PPD file: drv:///hp/hpcups.drv/hp-deskjet_2700_series.ppd
Description:
Adding print queue to CUPS:
Device URI: hp:/usb/DeskJet_2700_series?serial=CN238DWJ6B
Queue name: DeskJet_2700
PPD file: drv:///hp/hpcups.drv/hp-deskjet_2700_series.ppd
Location:
Information: DeskJet 2700 Device (Automatically setup by HPLIP)
---------------------
| PRINTER TEST PAGE |
---------------------
HP Linux Imaging and Printing System (ver. 3.21.12)
Testpage Print Utility ver. 6.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.21.12)
System Tray Status Service ver. 2.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.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
HP Linux Imaging and Printing System (ver. 3.21.12)
HPLIP upgrade latest version 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.
error: Unable to communicate with device (code=12): hp:/usb/DeskJet_2700_series?serial=CN238DWJ6B
error: Unable to print to printer. Please check device and try again.
note: If an error occured, or the test page failed to print, refer to the HPLIP website
note: at: http://hplip.sourceforge.net for troubleshooting and support.
Done.
paulin@station01:~$ error: Failed to connect to HPLIP site. Error code = 8
error: Failed to connect to HPLIP site. Error code = 8
error: Failed to get latest version of HPLIP.
Bon après si la connexion par le réseau est stable, ma foi ça me va très bien comme ça.
@inbox, voici le retour de la commande que tu m'as demandée :
~$ hp-doctor
HP Linux Imaging and Printing System (ver. 3.21.12)
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.21.12)
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.
-Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 276, in <module>
dep.core.init()
File "/usr/share/hplip/installer/core_install.py", line 523, in init
self.get_distro()
File "/usr/share/hplip/installer/core_install.py", line 661, in get_distro
if 'MX' in distro_release_name:
NameError: name 'distro_release_name' is not defined
Hors ligne
#5 Le 23/09/2023, à 15:08
- Guitar Watson
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
J'ai à nouveau un problème avec cette imprimante.
J'ai déménagé et donc j'ai changé de réseau wi-fi.
J'ai activé le wi-fi direct sur l'imprimante, elle apparait dans les réseaux wifi depuis mon ordinateur, et je parviens à m'y connecter. Mais à chaque fois, au moment de lancer l'impression, je la sélectionne et rien ne se passe....
Hors ligne
#6 Le 23/09/2023, à 15:26
- xubu1957
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Bonjour,
Tente :
sudo systemctl restart cups.service
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#7 Le 23/09/2023, à 16:24
- grigouille
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Tu as bien installé l'imprimante via
hp-setup -iax ip_imprimante
?
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#8 Le 24/09/2023, à 17:30
- Guitar Watson
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Merci beaucoup pour vos réponses.
@xubu1957 : la commande ne retourne rien (peut-être est-ce normal), et ne restaure pas l'impression
@grigouille : voilà ce que ça retourne :
paulin@station01:~$ hp-setup -iax ip_imprimante
HP Linux Imaging and Printing System (ver. 3.21.12)
Printer/Fax Setup Utility ver. 9.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.
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
error: No device selected/specified or that supports this functionality.
Hors ligne
#9 Le 24/09/2023, à 19:45
- grigouille
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Il faut remplacer "ip_imprimante" par l'adresse IP de l'imprimante .
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#10 Le 24/09/2023, à 20:57
- Guitar Watson
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Oups, pardon !
Alors je précise que je ne suis vraiment pas un as en info.
J'ai cherché l'adresse IP de l'imprimante. J'ai tulisé Nmap et je ne trouve pas d'infos sur cette adresse IP.
$ nmap -sT 192.168.1.0/24
Starting Nmap 7.80 ( https://nmap.org ) at 2023-09-24 21:50 CEST
Nmap scan report for livebox.home (192.168.1.1)
Host is up (0.0090s latency).
Not shown: 992 filtered ports
PORT STATE SERVICE
53/tcp open domain
80/tcp open http
113/tcp closed ident
135/tcp closed msrpc
139/tcp open netbios-ssn
443/tcp open https
445/tcp open microsoft-ds
631/tcp open ipp
Nmap scan report for device-83.home (192.168.1.16)
Host is up (0.0098s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
49152/tcp open unknown
62078/tcp open iphone-sync
Nmap scan report for redmi-note.home (192.168.1.32)
Host is up (0.0079s latency).
All 1000 scanned ports on redmi-note.home (192.168.1.32) are closed
Nmap scan report for ipad-de-danuta.home (192.168.1.42)
Host is up (0.00049s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
22/tcp open ssh
8200/tcp open trivnet1
Nmap scan report for tl-wa850re.home (192.168.1.51)
Host is up (0.037s latency).
Not shown: 998 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
Nmap scan report for station01.home (192.168.1.100)
Host is up (0.00096s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
22/tcp open ssh
8200/tcp open trivnet1
Nmap done: 256 IP addresses (6 hosts up) scanned in 13.22 seconds
Je précise que le protocole que j'utilisais jusqu'à maintenant pour relier l'ordi à l'imprimante était le wi-fi direct
Hors ligne
#11 Le 25/09/2023, à 08:12
- grigouille
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Ah oui, le wifi direct. Je ne maîtrise pas bien.
J'ai trouvé ce lien :
https://www.debian-fr.org/t/linux-et-wi … et/88092/8
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#12 Le 27/09/2023, à 20:53
- Guitar Watson
Re : Pb imprimante Deskjet 2730 et Ubuntu 22.04 [RESOLU]
Merci, je vais regarder ça
Hors ligne