Cannot setup scanner with hplip
I am unable to set up the scanner with my new Deskjet 2710. I set out below details and I hope that you can solve the problem please.
1. Linux Mint 19.3
2. HP Deskjet 2710
3. Relevant error message re scanner from HP Check printed below:
HP_DeskJet_
-------
Type: Unknown
Device URI: ipps://
PPD: /etc/cups/
warning: Failed to read /etc/cups/
PPD Description:
Printer status: printer HP_DeskJet_
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
4 & 5. I installed the new printer with hplip 3.21.2. The printer installed perfectly and I ran Hpsetup.
At stage 4, it accepted my wifi key code, then froze. I can supply screenshot images if it will help.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- 2021-03-25
- Last query:
- 2021-03-25
- Last reply:
- 2021-03-25
brian_p (claremont102) said : | #1 |
You have a wireless connection? That's good. Give the outputs of
avahi-browse -rt _ipp._tcp
avahi-browse -rt _uscan._tcp
driverless
Edward Barnaby (44+edward) said : | #2 |
Many thanks for your reply. I attach a terminal printout of the outputs
requested and hope these will help.
Edward
brian_p (claremont102) said : | #3 |
Edward,
I communicate via the HPLIP web page, not using email. Your attachments
did not get here that I can see.. Perhaps use copy and paste.
Edward Barnaby (44+edward) said : | #4 |
OK. Sorry, the first email said I could reply to it. Here are the attachments.
edward@
edward@
+ wlo1 IPv6 HP DeskJet 2700 series [DD033A] Internet Printer local
+ wlo1 IPv4 HP DeskJet 2700 series [DD033A] Internet Printer local
= wlo1 IPv6 HP DeskJet 2700 series [DD033A] Internet Printer local
hostname = [HP3024A9DD033A
address = [192.168.1.173]
port = [631]
txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=83614b70-
= wlo1 IPv4 HP DeskJet 2700 series [DD033A] Internet Printer local
hostname = [HP3024A9DD033A
address = [192.168.1.173]
port = [631]
txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=83614b70-
edward@
edward@
+ wlo1 IPv6 HP DeskJet 2700 series [DD033A] _uscan._tcp local
+ wlo1 IPv4 HP DeskJet 2700 series [DD033A] _uscan._tcp local
= wlo1 IPv4 HP DeskJet 2700 series [DD033A] _uscan._tcp local
hostname = [HP3024A9DD033A
address = [192.168.1.173]
port = [8080]
txt = ["duplex=F" "is=platen" "cs=binary,
= wlo1 IPv6 HP DeskJet 2700 series [DD033A] _uscan._tcp local
hostname = [HP3024A9DD033A
address = [192.168.1.173]
port = [8080]
txt = ["duplex=F" "is=platen" "cs=binary,
edward@
edward@
ipp://HP3024A9D
edward@
brian_p (claremont102) said : | #5 |
> Here are the attachments.
Thanks. Very useful.
This is a non-HPLIP solution but it is (or should be) a reliable one. Your
device is supported by sane-airscan, which is provided in Mint 20.1. See
https:/
Download it from
https:/
Edward Barnaby (44+edward) said : | #6 |
Thanks for your reply. I downloaded sane-airscan but I cannot install as it requires libc6 2.29 or higher. My repositories insist that 2.27 which I have is the latest version. I'm not sure how to install later versions.
brian_p (claremont102) said : | #7 |
That sounds like a bug in that package. Any luck with what is at
https:/
Edward Barnaby (44+edward) said : | #8 |
No luck installing sane-airscan. gdebi keeps asking for missing dependencies which I cannot find. I think this must be the time to upgrade to Mint 20 and hope it will work from there.
brian_p (claremont102) said : | #9 |
The first link I gave is incorrect. It should be
https:/
brian_p (claremont102) said : | #10 |
If you do upgrade to Mint 20.1, sane-airscan can be installed with
apt install sane-airscan
Edward Barnaby (44+edward) said : | #11 |
Thank you for the new link. Sane-airscan installed without problem, but Xsane will still not connect. I was able to access Hp-doctor.
This reported that everything was fine except that it gave several warnings that it could not read etc/cups/
brian_p (claremont102) said : | #12 |
Please give
scanimage -L
and
airscan-discover
Edward Barnaby (44+edward) said : | #13 |
Here are the results:
edward@
device `hpaio:
device `hpaio:
device `brother4:
device `airscan:e0:HP DeskJet 2700 series [DD033A]' is a eSCL HP DeskJet 2700 series [DD033A] ip=192.168.1.173
edward@
[devices]
HP DeskJet 2700 series [DD033A] = http://
HP DeskJet 2700 series [DD033A] = https:/
HP DeskJet 2700 series [DD033A] = http://
HP DeskJet 2700 series [DD033A] = http://[FE80::
brian_p (claremont102) said : | #14 |
Can you scan with any of
xsane "airscan:e0:HP DeskJet 2700 series [DD033A]"
simple-scan "airscan:e0:HP DeskJet 2700 series [DD033A]"
scanimage -d "airscan:e0:HP DeskJet 2700 series [DD033A]" > image.pnm ?
Edward Barnaby (44+edward) said : | #15 |
I tried these options. Xsane and Simple scan still gave the same error message. They recognise the device but cannot connect. The third option did not run. It seemed to dislike the ? at the end.
|
#16 |
1. This reported that everything was fine except that it gave several warnings that it could not read etc/cups/
You have to be member of the lp (lineprinter) group to access the ppd files
usermod -a -G lp edward
Then logoff and logon that this takes effect,
2. Xsane and Simple scan still gave the same error message.
Please always provide the full text of the error message
3. It seemed to dislike the ? at the end.
The question mark was from "Can you scan with any of ... ?" and does not belong to the command!
Edward Barnaby (44+edward) said : | #17 |
Tried usermod---. Below is the result:
edward@
usermod: Permission denied.
usermod: cannot lock /etc/passwd; try again later.
Strangely, following this attempt, I tried Xsane and it worked perfectly. To test it, I restarted the laptop and tried again and the errors came back, as set out below.
HP Device propietary plug-in is missing. Click Next to continue plug-in installation. In case of plug-in download failure, run hp-plugin command from the terminal manually.
Error message: Failed to open device hpaio:/
HP Linux Imaging and Printing System (ver. 3.21.2)
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.21.2)
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:
Receiving digital keys: /usr/bin/gpg --homedir /home/edward/
(Final GUI Message: unable to receive key.)
Edward Barnaby (44+edward) said : | #18 |
I think I have the answer. Xsane is now giving me three choices with HP device. One is with airscan and this is the one that is working. I think I can assume that it will work with that now. Fingers crossed.
Thankyou for all your help
Edward Barnaby (44+edward) said : | #19 |
Thanks Manfred Hampl, that solved my question.
Manfred Hampl (m-hampl) said : | #20 |
For completeness' sake:
1. Sorry, my fault, should have been
sudo usermod -a -G lp edward
2. There is the possibility to manually download and install the HP plugins
wget https:/
sh ./hplip-
brian_p (claremont102) said : | #21 |
> It seemed to dislike the ? at the end.
I asked a question. That is why "?" is there. It is not part of the command.