LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2020, 10:13 AM   #1
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Rep: Reputation: 22
Scanner plugin required for HP laserjet pro mfp m277dw


I've been trying to obtain the scanner plugin for my HP laserjet pro mfp m277dw printer. I've tried hp-plugin command in the terminal and it constantly fails. Is there any other way to obtain the plugin without going through the HP website? My scanner doesn't work without the plugin!

Thanks, Gael
 
Old 06-08-2020, 10:48 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
What version of HPLIP is installed on your system? Not all distros update it very quickly. HP list version 3.20.5 as the latest.

You can download the latest from this link. -->https://developers.hp.com/hp-linux-i...nting/gethplip

Hope this helps.
 
1 members found this post helpful.
Old 06-08-2020, 11:27 AM   #3
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by camorri View Post
What version of HPLIP is installed on your system? Not all distros update it very quickly. HP list version 3.20.5 as the latest.

You can download the latest from this link. -->https://developers.hp.com/hp-linux-i...nting/gethplip

Hope this helps.
Thanks for your reply, however, I have hplip 3.20.5. The problem isn't printing as that works without fault, the problem is with 'scanning'. When I attempt to scan I get an error message informing me that I need to download the necessary plugin. Each time I try, it fails. I've spent all afternoon searching for an alternative site. Any ideas will be most welcome.
 
1 members found this post helpful.
Old 06-08-2020, 01:15 PM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Could you, as root, run the command sane-find-scanner and post the results? One problem with scanners, is back-ends like the genesys back end support scanners by different manufacturers. Is a little more difficult to figure out what back end will work. What I'm looking for is the vendor and product ID. This is what it looks like for my HP scanner.

Quote:
vendor=0x03f0 [Hewlett-Packard], product=0x4505
If you look at /etc/sane.d/ you should find the backends you have already. You may have what you need.

What distro are you running?
 
1 members found this post helpful.
Old 06-08-2020, 01:18 PM   #5
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
You may need the sane package installed to interface with the scanner.
 
1 members found this post helpful.
Old 06-08-2020, 04:01 PM   #6
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by camorri View Post
Could you, as root, run the command sane-find-scanner and post the results? One problem with scanners, is back-ends like the genesys back end support scanners by different manufacturers. Is a little more difficult to figure out what back end will work. What I'm looking for is the vendor and product ID. This is what it looks like for my HP scanner.



If you look at /etc/sane.d/ you should find the backends you have already. You may have what you need.

What distro are you running?
Linux Mint Cinnamon 19.3

$ sudo sane-find-scanner
[sudo] password for gael33:

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x3b2a [HP Color LaserJet MFP M277dw]) at libusb:001:015
found USB scanner (vendor=0x0cf3 [ATHEROS], product=0x7015 [USB WLAN]) at libusb:001:003
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
 
Old 06-08-2020, 04:03 PM   #7
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
A little extra info;

$ scanimage -L
device `hpaio:/usb/HP_Color_LaserJet_MFP_M277dw?serial=VNB8K3K1V5' is a Hewlett-Packard HP_Color_LaserJet_MFP_M277dw all-in-one
device `hpaio:/net/hp_color_laserjet_mfp_m277dw?ip=192.168.1.191&queue=false' is a Hewlett-Packard hp_color_laserjet_mfp_m277dw all-in-one
device `escl:http://2a00:23c7:4283:c801:aa6b:adff:fe7a:1742:8080' is a HP Color LaserJet MFP M277dw (A1D4FE) flatbed scanner
device `escl:http://192.168.1.191:8080' is a HP Color LaserJet MFP M277dw (A1D4FE) flatbed scanner
 
Old 06-08-2020, 06:42 PM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I can not find any evidence that this scanner is supported in linux. I hate to be the bearer of bad news, however, HP does not seem to support the scanner in linux now.

That said, I have a HP Scanjet G4010, and it took a year for the linux support to show up. I think your options are, connect it to a windoze system, and install the windoze software for the scanner.

When I was waiting for the driver for my scanner, I installed V-box, installed windows, and the scanner software in windows. That worked for me.

I suspect that is a new design piece of hardware, and as such, it takes time for a driver to be made available.
 
1 members found this post helpful.
Old 06-08-2020, 07:11 PM   #9
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Check to see if you are in the scanner group, or similar name. Otherwise your access to it is blocked.
 
Old 06-09-2020, 03:01 AM   #10
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by uteck View Post
Check to see if you are in the scanner group, or similar name. Otherwise your access to it is blocked.
Thanks for responding. I don't know what you mean by 'in the scanner group', perhaps you could explain with a wee bit more detail?

Thanks, Gael.
 
Old 06-09-2020, 03:30 AM   #11
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Yes, this model is supported by HPLIP as per the Supported Printers page.

Quote:
HP Color LaserJet MFP m277dw 3.15.4 Required Full
The 'Required' entry refers to the plugin but that's for printing.

Try using the scanner with the 'hp-scan' utility (part of HPLIP). Launch it from a terminal with
Code:
hp-scan
 
Old 06-09-2020, 04:28 AM   #12
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by ferrari View Post
Yes, this model is supported by HPLIP as per the Supported Printers page.


The 'Required' entry refers to the plugin but that's for printing.

Try using the scanner with the 'hp-scan' utility (part of HPLIP). Launch it from a terminal with
Code:
hp-scan
I used the utility and a pop-up window asked if I wanted to install the necessary plugin ... I clicked yes and it failed. I want to know if there is any other site that would allow me to download the plugin? I've looked and can't find any other site.
 
Old 06-09-2020, 05:01 AM   #13
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
I've read similar Linux Mint threads. This thread explains how some users have updated HPLIP to solve problems with the version Mint 18.3 comes with.

You could try installing a more recent version from here.
https://sourceforge.net/projects/hplip/files/hplip/

It would be good if other Ubuntu/Mint users could chime in here.
 
Old 06-09-2020, 07:08 AM   #14
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 20.1 Cinnamon 64 bit
Posts: 343

Original Poster
Rep: Reputation: 22
Okay, I eventually found the answer on another board, and here it is. It would appear that I was not the only one having problems installing the Scanner plugin.


HP Color Laserjet Pro MFP M277dw Installation & Plugin.

Problem solved with the following approach (terminal):
• sudo python uninstall.py
• sudo apt purge hplip*
• sudo apt-get -f install
• python -c 'import sys; print sys.path'
• sudo apt-get install libgtk-3-dev
• sudo apt-get purge hplip hplip-data libhpmud0 libsane-hpaio printer-driver-hpcups hplip-gui
• sudo rm -r /usr/share/hplip
• sudo updatedb && locate hplip
• sudo apt install --reinstall python3-notify2 libsane-dev sane-utils libpthread-stubs0-dev python3-pil python3-dbus.mainloop.qt libssl1.1 libusb-1.0-0-dev python3-dev libsnmp-dev python3-reportlab libcupsfilters-dev libcups2-dev libcupsimage2-dev python3-pyqt4 python3-cups libjpeg-dev libcupsimage2-dev python3-hpilo python3-dbus python3-dev
• sudo apt-get update -y
• sudo apt-get install -y python-gobject
• RESTART
• Downloads hplip Version 3.20.5 from*https://developers.hp.com/hp-linux-i...nting/gethplip
• sh hplip-3.20.5.run
• Downloads HP-Plugin from*https://developers.hp.com/sites/defa...0.5-plugin.run
• sh hplip-3.20.5-plugin.run
 
Old 06-09-2020, 07:28 AM   #15
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Well done. Thanks for the update.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP LaserJet Pro MFP M125a printer not working AndyDeveloper Linux - Hardware 1 01-18-2019 02:33 PM
[SOLVED] HP LaserJet Pro MFP m125nw - not printing SerenaVictoria Linux - Hardware 11 07-05-2015 05:49 PM
HP LaserJet Professional M1217nfw MFP hplip hp-setup binary plugin won't download scheidel21 Linux - Hardware 5 05-17-2012 09:47 PM
[SOLVED] Adding HP Color LaserJet CM2320nf MFP to CUPS mitchell7man Linux - Hardware 3 07-14-2010 09:02 PM
Kubuntu 7.04 & HP Laserjet M1005 MFP logicopinion Linux - Software 1 11-09-2007 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration