problems with hplip
I want to install the scanner hp scanjet pro 2000 s2
my version of Ubuntu is 20.04.5 LTS
I installed hplip version 3.22.2 which according to https:/
when I run hp-setup I arrive to this error message.
error: No appropriate print PPD file found for model hp_scanjet_
I am unable to make progress
thank you
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Andrea Maffei
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please give the output from
lsusb -v | grep -A 3 bInterfaceClass.*7
Revision history for this message
|
#2 |
thank you for you answer.
the output to the command lsusb -v | grep -A 3 bInterfaceClass.*7
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
bInterfac
bInterfac
bInterfac
iInterface 0
--
bInterfac
bInterfac
bInterfac
can't get debug descriptor: Resource temporarily unavailable
Couldn't open device, some information will be missing
iInterface 0
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
I add the following: using hp-setup the programm see the scanner. I do not know if this can help.
thank you
Andrea
Revision history for this message
|
#3 |
Your info brings good news! The 7/1/4 indictes the device claims to
support IPP-over-USB.
* Go to https:/
ScanJets are already supported.
* Move on to https:/
* Download ipp-usb and sane-airscan.
* Disconnect from USB and install both packages.
* Reconnect to USB and give the outputs of
scanimage -L
aurscan-
Revision history for this message
|
#4 |
Typo alert. That's airscan-discover.
Revision history for this message
|
#5 |
thank you
scanimage -L gives the following result
device `hpaio:
while if I try to run airscan-discover it says command not found (probably I did not installed the package sane-airscan correctly I just downloaded the file and click the icon, as I did for the file ipp-usb)
thank you
Andrea
PS: I also run hp-plugin and it seems to me that I installed a very recent version of the plugins 3.22.2 (it says installation successful, however he didn't change the result of running hp-setup)
Revision history for this message
|
#6 |
> while if I try to run airscan-discover it says command not found
> (probably I did not installed the package sane-airscan correctly
> I just downloaded the file and click the icon, as I did for the file
> ipp-usb)
The packages are not installed. I think you have to doube-click. Or
right-click and choose install, if it is there is such an option.
Revision history for this message
|
#7 |
thank you, finally I was able to install airscan, I think I had some dependencies problem.
If I run scanimage -L I get
device `hpaio:
if I run airscan-discover I get
[devices]
does this help?
thank you
Andrea
Revision history for this message
|
#8 |
> does this help?
Not really, I'm afraid. You have not installed ipp-usb and/or not re-pluged
into USB.
Revision history for this message
|
#9 |
systemctl status ipp-usb
should show the service as active and running.
Revision history for this message
|
#10 |
thank you again. ipp-usb seems to be installed now
1. this is the result of scanimage -L
device `escl:http://
device `hpaio:
device `hpaio:
device `airscan:e0:HP ScanJet Pro 2000 s2 (USB)' is a eSCL HP ScanJet Pro 2000 >
2. this is the result of airscan-discover
[devices]
HP ScanJet Pro 2000 s2 (USB) = http://
3. this is the result of ipp-usb status
ipp-usb daemon: running
ipp-usb devices:
Num Device Vndr:Prod Model
1. Bus 002 Device 002 03f0:5a05 "HP ScanJet Pro 2000 s2"
status: OK
thank you
Andrea
Revision history for this message
|
#11 |
Well done, Andrea. Thanks for sticking with it.
scanimage shows three devices. Are you able to scan with
simple-scan "airscan:e0:HP ScanJet Pro 2000 s2 (USB)"
or
xsane "airscan:e0:HP ScanJet Pro 2000 s2 (USB)" ?
Revision history for this message
|
#12 |
thank you again. It seems there is a progress!!!
> scanimage shows three devices
Yes, however I have only one scanner, is that ok?
If I try to scan with simple-scan "airscan:e0:HP ScanJet Pro 2000 s2 (USB)"
I get this message
(eog:3261): EOG-WARNING **: 12:19:27.998: Image dimensions too large to process
and I get a very bad scan which has nothing to do with the page I scanned
If I try to scan with xsane "airscan:e0:HP ScanJet Pro 2000 s2 (USB)"
I get this message
then it open a window where I can set some preferences (for example I can set pdf for the format and ADF duplex) and if I acquire the page I get a good scan. Also I get a scan of both sides of the page and of more than one page. The settings of xsane are a little bit difficult to understand for (maybe to guess would be more appropriate) me.
This solution has something to do with hplip or is completetely a different solution?
thank you
Andrea
Revision history for this message
|
#13 |
> Yes, however I have only one scanner, is that ok?
Indeed it is, but not all devices will work. The one that should work is
airscan.
> If I try to scan with simple-scan "airscan:e0:HP ScanJet Pro 2000 s2 (USB)"
> I get this message
> (eog:3261): EOG-WARNING **: 12:19:27.998: Image dimensions too large to process
I'm lost! EOG is possibly Eye of Gnome (an image viewer). I do not know
why it comes into the scanning process. A feature of your system?
Anyway, bring up Document Scanner (which is actually simple-scan) and
choose airsccan from its drop-down menu. It is the entry beginning "eSCL".
Try scanning with that entry.
Also try
scanimage -d "airscan:e0:HP ScanJet Pro 2000 s2 (USB)" --format=jpeg > image.jpg
View image.jpg with any image viewer.
Revision history for this message
|
#14 |
> This solution has something to do with hplip or is completetely a
> different solution?
The solution using airscan has nothing to do with HPLIP. Are you
confirming scanning takes place for you with
xsane "airscan:e0:HP ScanJet Pro 2000 s2 (USB)" ?
If so, you can just open Xsane and select airscan from the choices
it gives.
Revision history for this message
|
#15 |
I confirm that with xsane the scanner works well
thank you
Andrea
Revision history for this message
|
#16 |
> I confirm that with xsane the scanner works well
Excellent. I am very interested in whether that is using airscan.
It appears from what you said before it is so. Please confirm.
It will help other users to know this.
TIA.
Revision history for this message
|
#17 |
Hi, thank you again for all the support.
I tried to open simple-scan as you suggested. It gave three choices for the (same) scanner: I chose the one beginning with eSCL.
It worked perfectly. Also, the interface at the first sight looks simpler than for xsane. However with xsane I already scanned many documents without problem.
I tried again from the terminal with simple-scan "airscan:e0:HP ScanJet Pro 2000 s2 (USB)" and now it also worked (it opened the same window and it did not give the same error: (eog:3261): EOG-WARNING **: 12:19:27.998: Image dimensions too large to process).
I make a summary of what I did and I take the opportunity to ask three questions (these are at the end):
SUMMARY:
I installed ipp-usb installing the following package
sudo snap install ipp-usb --edge
I do not know what snap is and why I had to use it. I found the command here https:/
I think I tried without snap and it did not worked
I installed airscan. This was more complicated I founf these instructions here: https:/
at the end of the page. This was a quite long list of pacjkages to be installed:
apt-get install gcc git make pkg-config
apt-get install libavahi-client-dev
apt-get install libxml2-dev
apt-get install libjpeg-dev libpng-dev
apt-get install libsane-dev
apt-get install gnutls-dev
Then I installed airscan with the following commands (I understand only the second one)
git clone https:/
cd sane-airscan
make
make install
I installed simple scan with
apt-get -y install simple-scan
I do not know the meaning of y in this command I think I found it somewhere. I do not know if I really need it
I installed xsane with
apt-get install xsane
both simple-scan and xsane work (including the fact that the scanner scan both sides of the page which was important for me)
QUESTIONS:
- metaquestion: some hints on what I did during the installations: snap? git? --edge? make? make install? -y?
I understand you cannot explain everything. Can you give a general reference for an intruduction to installation in ubuntu?
Something easy...
- also I created a folder sane-airscan just in my main directory. I understand this is not the right place. What would be a more
appropriate one? Where usually program are saved? Could I move this folder anywhere or I have to repeat the commands make
make install after I moved it?
- what I am using now?
I understand that in both cases (I mean using xsane or using simple scan) I use airscan. Is that correct?
I am using also ipp-usb? Or that was only usefull to see the status of the devices?
thank you
Andrea
Revision history for this message
|
#18 |
Various points, some of which I hope will answer your queries:
* You are using airscan to scan. Because the scanner is USB-only It requites
that you have ipp-usb installed too.
* The snap package for ipp-usb is OK. It will automatically update when a new
version is released. I have never used snaps.
* Information about IPP-over-USB is at
https:/
* I think you overcomplicated things by compiling sane-airscan. I gave a link to
a Debian package to install earlier. But, if what you have works, leave it for now.
* The downloaded ipp-usb and sane-airscan package may be installed with
dpkg -i ipp-usb_
dpkg -i sane-airscan_
but, if what you have works, leave it for now. dpkg will put everything in the right
places.
* If you ever upgrade to Ubuntu 22.04, you will get ipp-usb and sane-airscan by
default.
* Xsane versus simple-scan? Chhose what is best fro the job.
* The "y" in apt-get -y install simple-scan means that you are not prompted to OK
a command. I wouldn't advise your using it.
Revision history for this message
|
#19 |
thank you very much
Andrea