Score:0

Unable to use the scanner on my HP 4520 All-In-One

in flag

I previously had issues with printing with my printer on Ubuntu 20.04.3 LTS Unable to use my HP 4520 All-In-One

After solving that problem with @Waltinator 's & other's help, I still am unable to scan using the scanner. I tried to understand the group permissions instructions on the above link but wasn't able to figure them out. For example, when I checked ls -l, it didn't show anything that appeared to be permissions for the printer or scanner. Is that "snap"?

When I use the application called "hp-uiscan" it claims "No Device Connected" When I press scan on my HP4520, it says "No computer found" make sure it is turned on. The inbuilt HP Device manager doesn't seem to have any scanner options.

I also used the instructions found here: But sudo apt-get install hplip-gui did not work after I went through the GUI because it did not give any options related to a printer or for the driver.

Please advise. Thanks.

br flag
USB? You could try the Answer at https://askubuntu.com/questions/1366428/ubuntu-18-simple-scan-no-detect-scanner-cannner-lide300-please-help
N0rbert avatar
zw flag
Have you tried to install `hp-plugin`. As per [hplip docs](https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index) is not marked as needed, but you have to try.
216ann avatar
in flag
@brian_p I tried the instructions there such as those on: https://software.opensuse.org//download.html?project=home%3Apzz&package=sane-airscan But after running add repository manually for 20.04, it came back as "Unable to locate package sane-airscan". I see the repositories at: https://download.opensuse.org/repositories/home:/pzz/xUbuntu_20.04/ But am not sure which ones to install or even how to install them. I am a newbie. Please advise.
216ann avatar
in flag
@N0rbert I ran "dpkg -l hplip" which returned: 3.20.3+dfsg0-2 amd64 So unless i am mistaken, I have it installed. Did you mean something else?
N0rbert avatar
zw flag
Run `hp-plugin` command, follow its wizard and wait it to complete. Then try to scan.
216ann avatar
in flag
@N0rbert I ran the cmd sudo, I seemed to be able to download with a few apparently minor errors (eg, returned non-zero exit status; AttributeError: module 'platform' has no attribute 'dist'). But ultimately, both pressing scan on the device as well as using the hp-uiscan app failed the same way as described above. Was I supposed to install the plugin after? I couldn't find anything downloaded. Or perhaps there is a different way to scan? Please advise.
br flag
@216ann Forget about a repository . Just download and install ipp-usb and sane-airscan. Right-clicking on a file might help. Re-plug the device into USB afterwards.
216ann avatar
in flag
@N0rbert I have ipp-usb installed: rc ipp-usb 0.9.19-1+50.1 amd64 Daemon for IPP over USB printer support BUT I get "E: Unable to locate package sane-airscan" when I follow the instructions at: https://software.opensuse.org//download.html?project=home%3Apzz&package=sane-airscan I avoided the "Grab binary packages directly" option because of the recommendations at: https://github.com/alexpevzner/sane-airscan
216ann avatar
in flag
@N0rbert Using "sudo apt list --installed" returned "sane-airscan/now 0.99.27-1+87.1 amd64 [installed,local] sane-utils/focal-updates,now 1.0.29-0ubuntu5.2 amd64 [installed,automatic]" However, using "scan-airscan" says cmd not found whether I use man or anything behind it. using the "scan" button as well as hp-uiscan returns the same errors as before. Please advise
216ann avatar
in flag
@brian_p I have still been unable to scan. Feel like I have tried everything.
216ann avatar
in flag
@N0rbert I still can't scan. Please assist. I am unsure if I am allowed to reask the question if this question remains unanswered. Thanks.
216ann avatar
in flag
@brian_p I have still been unable to scan and need to scan impt documents for legal reasons. Please help me. Thanks.
Score:0
jp flag

I found out that hp-uiscan does not support MFP (Multi Function Printers) devices. There is only a limited device list of supported scanners. MFP printers are disabled programmatically by a filter list.

Btw, scanning only works if the sane backend is installed. ;-)

If you want to use the scan button on your printer I can recommend the Scan2Folder tool. You can download it at https://github.com/AlfredoCubitos/Scan2Folder

216ann avatar
in flag
@Afredo cubitos So is that why I have had so much trouble with it? How would I install the "sane backend" & use it to scan? Also, I am a newbie so I go to the GitHub link you provided & only see "sudo pip3 install -r deps/dependency.txt". I must be doing something wrong or missed (several) steps because that doesn't seem to work. At least by itself.
Alfredo cubitos avatar
jp flag
there is a good article all about scanning at https://help.ubuntu.com/community/ScanningHowTo. It also explains howto install sane and how to use it. I assumed that your scanner is connected to your network, or? The tool is for scanners connected over a network.
216ann avatar
in flag
Thanks for the assist. Actually no, my printer is connected directly through USB to my desktop because I thought it would be easier with a physical connection. Did I make a mistake? I looked at this page which purportedly shows the HP scanners that work with Ubuntu and shockingly 4520 (which is a very, very common all-in-one) is not on there (https://wiki.ubuntu.com/HardwareSupportComponentsScannersHp). Does that mean I am out of luck? I look a the wall of instruction on your article and I am rather intimidated as I am a newbie.
Alfredo cubitos avatar
jp flag
Have you ever tried `hp-setup`?
216ann avatar
in flag
I tried it before but for some reason following the instructions here (https://www.cyberciti.biz/faq/how-to-install-networked-hp-printer-and-scanner-on-ubuntu-linux/) worked for me. Now I am able to scan. Strangely however, I can only scan the very top portion of any page. Now I have to figure out why that is. But at least I can scan. BTW, I am using the usb and not the network. Thanks again.
Alfredo cubitos avatar
jp flag
did you define your page size settings in your scan tool? Can you please check if he Scan2Folder tool works also? Thanks in advance :-)
216ann avatar
in flag
Yes, that was the first thing that I checked. The page size was fine but for some reason, it continued only scanning the very top portion of any page. I could not get the Scan2Folder tool to work.
Score:0
in flag

So finally to solve this issue, I used the hp-setup per instructions here: https://www.cyberciti.biz/faq/how-to-install-networked-hp-printer-and-scanner-on-ubuntu-linux/
I used the usb connection.
I could not get the toolbox to work (it strangely scanned only the top of each page even though the settings showed that it was set to scan the entire page) so I had to use Simple Scan app that is already built into Gnome.
I never thought it would be this simple especially since I had asked this question before & got really complicated answers. Hope this helps newbies like myself. Thanks to all the folks who gave me pointers along the way. I was able to get my impt docs scanned & sent.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.