HP LaserJet MFP M227sdn - Not able to scan on my network

Asked by garrop on 2019-07-14

Hi there,

I just purchased this printer-scanner.

On the print side, everything works fine.

However, I am unable to scan documents from various Linux computers (Ubuntu 16.04 and 18.04) and Debian 9.9.

The machine is directly connected to the home router and is not recognized by hp-setup even when I force it to search based on the local ip address.

Scanning from a MS W10 with the HP software works fine.

I have disabled the firewall from the router to no avail.

I have also manually installed latest hplip package, sane, but no results: both simple-scan and xsane return no scanner found.

Could you please advice on how to proceed?

Also, not a Linux question, but I purchased the machine thinking it did have scan to email features. It seems that there are various 227 models and this one does not have such feature. Is this something that can be enabled by firmware upgrade?

Thanks in advance

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2019-07-26
Last reply:
2019-08-11
shivani mandora (shivani1708) said : #1

Hi,

Can you please download and install the latest driver and plugin file from the below location:

https://developers.hp.com/hp-linux-imaging-and-printing/
https://developers.hp.com/hp-linux-imaging-and-printing/plugins

Install using below command:

sh hplip-3.19.6.run
sh hplip-3.19.6-plugin.run

If you face any problems please let me know.

Thanks,
Shivani

garrop (garrop) said : #2

Hi there,

The driver states the following:

note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
|Gtk-Message: Failed to load module "canberra-gtk-module"
/Gtk-Message: Failed to load module "canberra-gtk-module"
error: debian-9.9 version is not supported, so all dependencies may not be installed. However trying to install using debian-9.8 version packages.

And if I try to install it in automatic mode:

RE-CHECKING DEPENDENCIES
------------------------
\Gtk-Message: Failed to load module "canberra-gtk-module"
error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing.
error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.
error: Installation cannot continue without these dependencies.
error: Please manually install this dependency and re-run this installer.

So I go for custom installation and ignore 'Graphical User Interfaces (Qt4)', I do suceed (it does build and install), but it does give me this message on the terminal:

Gtk-Message: Failed to load module "canberra-gtk-module"
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)

As for the plugin, it did install nicely.

However, even when I reboot the machine, it keeps saying there is no scanner available...

Many thanks for your support.

shivani mandora (shivani1708) said : #3

Hi garrop,

Thanks for the output.
 Since Debian 9.9 is not supported in HPLIP, you are not able to scan through HP LaserJet MFP M227sdn.
We will support Debian 9.9 in our future releases.

Thanks,
Shivani

garrop (garrop) said : #4

Hi there,

How about Ubuntu 16.04 and 18.04, both on x86_64 architectures?

When executing the sh command to run the 3.19.6 installer, the installation does not continue after the sudo password prompt.

I am trying in two other machines because I urgently need this machine to scan for me and have no other alternative.

Thanks in advance.

garrop (garrop) said : #5

Hi there,

I am concentrating on an Ubuntu 18.04 machine.

I have managed to achieve the first step. Although the installer warns that it should be not installed with admin rigths, Ihave disregarded such warning and thus finally was able to install the files (normal user, as said previously, would wait hours with no installation completed).

However, in order to be able to scan, the plugin seems to be necessary. And there, if I try to install it as superuser (i.e. sudo) it will inform me that is not possible and will halt installation. If I try to do it as a normal user, I make it all the way to the moment where it says "Number of files to install 43"

And I stays there forever...

Any help will be greatly appreciated. Thanks.

Launchpad Janitor (janitor) said : #6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.