I've installed hplip version 3.17.7 (with libsane-hpaio, hplip-data and other needed libraries) on Ubuntu 16.04 from ppa:alindt/xenial-backports (default hplip 3.16.3 version from Ubuntu 16.04 doesn't support LaserJet MFP M227) and scanning started to work only after installing hp-plugin:
1. added HP LaserJet MFP M227sdn network printer with command "hp-setup -i", tried hp-scan command after hp-setup but without success:
error: SANE: Error during device I/O (code=9) is displayed in terminal
2. installed HP plugin with command:
hp-plugin -i
After installing hp-plugin command hp-scan works fine :)
I've installed hplip version 3.17.7 (with libsane-hpaio, hplip-data and other needed libraries) on Ubuntu 16.04 from ppa:alindt/ xenial- backports (default hplip 3.16.3 version from Ubuntu 16.04 doesn't support LaserJet MFP M227) and scanning started to work only after installing hp-plugin:
1. added HP LaserJet MFP M227sdn network printer with command "hp-setup -i", tried hp-scan command after hp-setup but without success:
error: SANE: Error during device I/O (code=9) is displayed in terminal
2. installed HP plugin with command:
hp-plugin -i
After installing hp-plugin command hp-scan works fine :)