You are not logged in.

#1 2017-11-17 16:35:49

mx
Member
Registered: 2017-11-11
Posts: 60

(SOLVED) scanner softwares can not find scanner device

Hi,
I am trying to use the scanner, but i can not find the scanner/printer with the scan m software,altough i can print from muse is y computer..
the printer i am trying to use is a: hp laserjet pro mfp m227fdn

what shall i do?
thanks
mx

Last edited by mx (2017-11-24 10:49:31)


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#2 2017-11-17 16:41:59

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: (SOLVED) scanner softwares can not find scanner device

Have you installed hplip yet? This package should get things running for you.

Here is a walkthrough for you:

Walkthrough

^ I should add that you would probably want to get the package from Debian's repos via:

sudo apt-get install hplip

then run hp-setup. I posted the guide that is not really a guide because I have trouble remembering the names of the executables that hplip installs.

Offline

#3 2017-11-17 17:54:51

mx
Member
Registered: 2017-11-11
Posts: 60

Re: (SOLVED) scanner softwares can not find scanner device

i got this message when trying to run hp-setup:

error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
mx@mx:~$ 

Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#4 2017-11-17 17:57:50

mx
Member
Registered: 2017-11-11
Posts: 60

Re: (SOLVED) scanner softwares can not find scanner device

HP Linux Imaging and Printing System (ver. 3.14.6)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
mx@mx:~$ --qt3
bash: --qt3: no se encontró la orden
mx@mx:~$ --qt3 hp-setup
bash: --qt3: no se encontró la orden
mx@mx:~$ hp-setup qt3

HP Linux Imaging and Printing System (ver. 3.14.6)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP
warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
mx@mx:~$ hp-setup -i

HP Linux Imaging and Printing System (ver. 3.14.6)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num       Connection  Description                                               
            Type                                                                  
  --------  ----------  ----------------------------------------------------------
  0*        usb         Universal Serial Bus (USB)                                
  1         net         Network/Ethernet/Wireless (direct connection or JetDirect)
  2         par         Parallel Port (LPT:)                                      

Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1

Using connection type: net

\
error: No device selected/specified or that supports this functionality.
mx@mx:~$ 
mx@mx:~$ 

Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#5 2017-11-17 19:51:53

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: (SOLVED) scanner softwares can not find scanner device

This is from Ubuntu's wiki but I think you need to install the qt4 dependencies:

sudo apt-get install python-qt4
sudo apt-get install python3-pyqt4

See this wiki for details:
https://help.ubuntu.com/community/HpAllInOne

Offline

#6 2017-11-18 07:54:55

mx
Member
Registered: 2017-11-11
Posts: 60

Re: (SOLVED) scanner softwares can not find scanner device

I have installed the qt4 dependencies and still doesn't work. I am trying with Simple Scan and gscan2pdf.
it works with vuescan, but that one is a commercial software and i don't wanna pay to that company.


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#7 2017-11-18 08:04:48

mx
Member
Registered: 2017-11-11
Posts: 60

Re: (SOLVED) scanner softwares can not find scanner device

i went to the wiki to try something else:

mx@mx:~$ sudo hp-check -r
[sudo] password for mx: 
Saving output in log file: /home/mx/hp-check.log

HP Linux Imaging and Printing System (ver. 3.14.6)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the   
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies   
are installed to successfully compile HPLIP.                                       
2. Run-time check mode (-r or --run): Use this mode to determine if a distro       
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has  
the proper dependencies installed to successfully run.                             
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will  
check both of the above cases (both compile- and run-time dependencies).           

Check types:                                                                       
a. EXTERNALDEP - External Dependencies                                             
b. GENERALDEP - General Dependencies (required both at compile and run time)       
c. COMPILEDEP - Compile time Dependencies                                          
d. [All are run-time checks]                                                       
PYEXT SCANCONF QUEUES PERMISSION                                                   

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: bunsenlabs distro is not found in AUTH_TYPES
warning: debian-8 version is not supported. Using debian-7.5 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) GNU/Linux
 Host: mx
 Proc: 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) GNU/Linux
 Distribution: debian 8
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.14.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  8 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.14.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
html=/usr/share/doc/hplip-3.14.6
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.14.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No existe el fichero o el directorio

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No existe el fichero o el directorio
 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 policykit            Admin-Policy-framework    OPTIONAL        -               0.105           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.06            OK         -
 network              Network-wget              OPTIONAL        -               1.16            OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.24          OK         -
 error: avahi-utils   avahi-utils               OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'
 dbus                 DBus                      REQUIRED        -               1.8.22          OK         -
 error: cups          CUPS                      REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 xsane                SANE-GUI                  OPTIONAL        0.9             0.998           OK         -

-------------------------
|  General Dependencies |
-------------------------

 error: reportlab     Python-PDF-Lib            OPTIONAL        2.0             3.1.8           MISSING    'reportlab needs to be installed'
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           MISSING    'libcrypto needs to be installed'
 pil                  Python-Image-Lib          OPTIONAL        -               1.1.7           OK         -
 error: pyqt4-dbus    PyQt4-DBUS                REQUIRED        4.0             4.11.2          MISSING    'pyqt4-dbus needs to be installed'
 libjpeg              JPEG-Lib                  REQUIRED        -               -               OK         -
 libpthread           POSIX-Threads-Lib         REQUIRED        -               2.19            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.2.0           OK         -
 error: python-devel  Python-SDK                REQUIRED        2.2             2.7.9           MISSING    'python-devel needs to be installed'
 pyqt4                Python-Qt4                REQUIRED        4.0             4.11.2          OK         -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 sane-devel           SANE-SDK                  REQUIRED        -               1.0.24          OK         -
 libusb               USB-Lib                   REQUIRED        -               1.0             OK         -
 sane                 Scan-Lib                  REQUIRED        -               1.0.24          OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension            REQUIRED        -               3.14.6          OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.14.6          OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.14.6          OK         -

-----------------------
|  Scan Configuration |
-----------------------

 hpaio                HPLIP-SANE-Backend        REQUIRED        -               3.14.6          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension       REQUIRED        -               3.14.6          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `v4l:/dev/video0' is a Noname HD WebCam virtual device


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
HP-HP-LaserJet-MFP-M227-M231
----------------------------
Type: Unknown
Device URI: usb://HP/LaserJet%20MFP%20M227-M231?serial=VNC4G10815
PPD: /etc/cups/ppd/HP-HP-LaserJet-MFP-M227-M231.ppd
PPD Description: HP LaserJet MFP M725 Postscript (recommended)
Printer status: la impresora HP-HP-LaserJet-MFP-M227-M231 está inactiva.  activada desde sáEnviando datos a la impresora.
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


--------------
| PERMISSION |
--------------

error: Unsupported model: HP_LaserJet_MFP_M227-M231
 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible 
error: 'libssl-dev' package is missing/incompatible 
error: 'python-qt4-dbus' package is missing/incompatible 
error: 'python-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'avahi-utils' package is missing/incompatible 
error: 'python-reportlab' package is missing/incompatible 

Total Errors: 9
Total Warnings: 2

Run 'hp-doctor' command to prompt and fix the issues. 

Done.
mx@mx:~$ hp-doctor

HP Linux Imaging and Printing System (ver. 3.14.6)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: bunsenlabs distro is not found in AUTH_TYPES
 

Checking for Deprecated items....
error: This distro (i.e debian  8) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):y 


Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: debian-8 version is not supported. Using debian-7.5 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) GNU/Linux
 Host: mx
 Proc: 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) GNU/Linux
 Distribution: debian 8
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.14.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  8 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.14.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
html=/usr/share/doc/hplip-3.14.6
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.14.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No existe el fichero o el directorio

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 18/11/17 08:56:55
version = 3.14.6


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 policykit            Admin-Policy-framework    OPTIONAL        -               0.105           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.06            OK         -
 network              Network-wget              OPTIONAL        -               1.16            OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.24          OK         -
 error: avahi-utils   avahi-utils               OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'
 dbus                 DBus                      REQUIRED        -               1.8.22          OK         -
 error: cups          CUPS                      REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 xsane                SANE-GUI                  OPTIONAL        0.9             0.998           OK         -

-------------------------
|  General Dependencies |
-------------------------

 error: reportlab     Python-PDF-Lib            OPTIONAL        2.0             3.1.8           MISSING    'reportlab needs to be installed'
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           MISSING    'libcrypto needs to be installed'
 pil                  Python-Image-Lib          OPTIONAL        -               1.1.7           OK         -
 error: pyqt4-dbus    PyQt4-DBUS                REQUIRED        4.0             4.11.2          MISSING    'pyqt4-dbus needs to be installed'
 libjpeg              JPEG-Lib                  REQUIRED        -               -               OK         -
 libpthread           POSIX-Threads-Lib         REQUIRED        -               2.19            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.2.0           OK         -
 error: python-devel  Python-SDK                REQUIRED        2.2             2.7.9           MISSING    'python-devel needs to be installed'
 pyqt4                Python-Qt4                REQUIRED        4.0             4.11.2          OK         -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 sane-devel           SANE-SDK                  REQUIRED        -               1.0.24          OK         -
 libusb               USB-Lib                   REQUIRED        -               1.0             OK         -
 sane                 Scan-Lib                  REQUIRED        -               1.0.24          OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

------------------------------
|  Compile Time Dependencies |
------------------------------

 error: gcc           gcc-Compiler              REQUIRED        -               4.9.2           MISSING    'gcc needs to be installed'
 error: libtool       Build-tools               REQUIRED        -               -               MISSING    'libtool needs to be installed'
 error: make          GNU-Build-tools           REQUIRED        3.0             -               MISSING    'make needs to be installed'

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension            REQUIRED        -               3.14.6          OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.14.6          OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.14.6          OK         -

-----------------------
|  Scan Configuration |
-----------------------

 hpaio                HPLIP-SANE-Backend        REQUIRED        -               3.14.6          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension       REQUIRED        -               3.14.6          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `v4l:/dev/video0' is a Noname HD WebCam virtual device


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
HP-HP-LaserJet-MFP-M227-M231
----------------------------
Type: Unknown
Device URI: usb://HP/LaserJet%20MFP%20M227-M231?serial=VNC4G10815
PPD: /etc/cups/ppd/HP-HP-LaserJet-MFP-M227-M231.ppd
PPD Description: HP LaserJet MFP M725 Postscript (recommended)
Printer status: la impresora HP-HP-LaserJet-MFP-M227-M231 está inactiva.  activada desde sáEnviando datos a la impresora.
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


--------------
| PERMISSION |
--------------

error: Unsupported model: HP_LaserJet_MFP_M227-M231
Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'libssl-dev' package is missing/incompatible 
error: 'python-qt4-dbus' package is missing/incompatible 
error: 'python-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing or 'cups' service is not running.
error: 'cups-bsd' package is missing or 'cups' service is not running.
error: 'cups-client' package is missing or 'cups' service is not running.
error: 'libcupsimage2' package is missing or 'cups' service is not running.
error: 'libcupsimage2-dev' package is missing or 'cups' service is not running.
error: 'libsnmp-dev' package is missing/incompatible 
error: 'g++' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'make' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'avahi-utils' package is missing/incompatible 
error: 'python-reportlab' package is missing/incompatible 


ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password: 

I entered the root password and nothing happened


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#8 2017-11-18 14:13:41

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: (SOLVED) scanner softwares can not find scanner device

This is likely your problem:

error: gcc           gcc-Compiler              REQUIRED        -               4.9.2           MISSING    'gcc needs to be installed'
 error: libtool       Build-tools               REQUIRED        -               -               MISSING    'libtool needs to be installed'
 error: make          GNU-Build-tools           REQUIRED        3.0             -               MISSING    'make needs to be installed'

You would want to install build-essential and libtool. Basically, everything that says REQUIRED and is missing on the right has to be installed for the package to build, assuming you wish to go that route.

For reasons unknown, automatic dependency resolution for hplip does not work, so this is a lot like building the package from source. You are going to have to ensure that all the dependencies are met before the package will work.

Offline

#9 2017-11-18 18:36:02

mx
Member
Registered: 2017-11-11
Posts: 60

Re: (SOLVED) scanner softwares can not find scanner device

In installed build-essential and libtool and still doesn't work.
shall i install everything else?


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#10 2017-11-18 20:16:54

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: (SOLVED) scanner softwares can not find scanner device

Let's try a different approach because at this point, you could basically build the dang thing from source going this route. Let's make sure hplip and hplip-gui is installed from the debian repositories:

sudo apt install hplip
sudo apt install hplip-gui

This should allow you to use the gui to set things up via hp-setup. This should work as I had my HP scanner working in Jessie. It also works in Stretch. Somehow I missed the part where hplip-gui was not installed and was needed. For that I apologize.

Offline

#11 2017-11-20 17:51:38

mx
Member
Registered: 2017-11-11
Posts: 60

Re: (SOLVED) scanner softwares can not find scanner device

i tried and it says that hplip already is in its new version. :S


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#12 2017-11-20 18:52:10

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: (SOLVED) scanner softwares can not find scanner device

Did the gui install? If so, it will probably get you out of having to install all of those dependencies that you listed above. If not, make sure that All of the REQUIRED dependencies are installed. That should get it to run. No guarantee it will recognize your scanner but it will ensure the program installs. If the gui installed, hplip-gui should get you rolling.

Offline

#13 2017-11-21 15:57:06

mx
Member
Registered: 2017-11-11
Posts: 60

Re: (SOLVED) scanner softwares can not find scanner device

sorry, so i just intalled the gui. and still doesn't work.


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#14 2017-11-21 17:15:22

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: (SOLVED) scanner softwares can not find scanner device

Hmm. The scanner is supported in hplip version 3.16.11, which is the version in Stretch, it seems:
This is from HP's hplip portal

HP LaserJet Pro MFP m227fdn    3.16.11    No    Full    Mono    Yes    Yes    USB; Network

I am currently tracking Stretch and apt-cache policy shows me:

tknomanzr@wtfbox:~$ apt-cache policy hplip
hplip:
  Installed: 3.16.11+repack0-3
  Candidate: 3.16.11+repack0-3
  Version table:
 *** 3.16.11+repack0-3 500
        500 http://deb.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status

There were a number of issues with hplip in Jessie, not least of which was that automatic dependency resolution was not supported with hp-setup in Jessie. So looking back, you will need to run hp-check -r again and ensure that every dependency is satisfied. If you are not tracking Stretch, that is the minimum version of Debian that you will need to get your scanner running.

Offline

#15 2017-11-21 19:31:23

mx
Member
Registered: 2017-11-11
Posts: 60

Re: (SOLVED) scanner softwares can not find scanner device

this is the version of Debian i am running:

mx@mx:~$ apt-cache policy hplip
hplip:
  Instalados: 3.14.6-1+deb8u1
  Candidato:  3.14.6-1+deb8u1
  Tabla de versión:
     3.16.11+repack0-1~bpo8+1 0
        100 http://deb.debian.org/debian/ jessie-backports/main amd64 Packages
 *** 3.14.6-1+deb8u1 0
        500 http://deb.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status

it is the right one?

and that is what i got:

mx@mx:~$ hp-check -r 
Saving output in log file: /home/mx/hp-check.log

HP Linux Imaging and Printing System (ver. 3.14.6)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the    
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are
installed to successfully compile HPLIP.                                            
2. Run-time check mode (-r or --run): Use this mode to determine if a distro        
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has   
the proper dependencies installed to successfully run.                              
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will   
check both of the above cases (both compile- and run-time dependencies).            

Check types:                                                                        
a. EXTERNALDEP - External Dependencies                                              
b. GENERALDEP - General Dependencies (required both at compile and run time)        
c. COMPILEDEP - Compile time Dependencies                                           
d. [All are run-time checks]                                                        
PYEXT SCANCONF QUEUES PERMISSION                                                    

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: bunsenlabs distro is not found in AUTH_TYPES
warning: debian-8 version is not supported. Using debian-7.5 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) GNU/Linux
 Host: mx
 Proc: 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) GNU/Linux
 Distribution: debian 8
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.14.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  8 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.14.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
html=/usr/share/doc/hplip-3.14.6
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.14.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No existe el fichero o el directorio

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 21/11/17 20:33:35
version = 3.14.6

[settings]
systray_visible = 1
systray_messages = 0

[last_used]
device_uri = 
printer_name = 
working_dir = .

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[upgrade]
notify_upgrade = false
last_upgraded_time = 1511279105.55011
pending_upgrade_time = 0


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 policykit            Admin-Policy-framework    OPTIONAL        -               0.105           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.06            OK         -
 network              Network-wget              OPTIONAL        -               1.16            OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.24          OK         -
 error: avahi-utils   avahi-utils               OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'
 dbus                 DBus                      REQUIRED        -               1.8.22          OK         -
 error: cups          CUPS                      REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 xsane                SANE-GUI                  OPTIONAL        0.9             0.998           OK         -

-------------------------
|  General Dependencies |
-------------------------

 error: reportlab     Python-PDF-Lib            OPTIONAL        2.0             3.1.8           MISSING    'reportlab needs to be installed'
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           MISSING    'libcrypto needs to be installed'
 pil                  Python-Image-Lib          OPTIONAL        -               1.1.7           OK         -
 pyqt4-dbus           PyQt4-DBUS                REQUIRED        4.0             4.11.2          OK         -
 libjpeg              JPEG-Lib                  REQUIRED        -               -               OK         -
 libpthread           POSIX-Threads-Lib         REQUIRED        -               2.19            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.2.0           OK         -
 error: python-devel  Python-SDK                REQUIRED        2.2             2.7.9           MISSING    'python-devel needs to be installed'
 pyqt4                Python-Qt4                REQUIRED        4.0             4.11.2          OK         -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 sane-devel           SANE-SDK                  REQUIRED        -               1.0.24          OK         -
 libusb               USB-Lib                   REQUIRED        -               1.0             OK         -
 sane                 Scan-Lib                  REQUIRED        -               1.0.24          OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension            REQUIRED        -               3.14.6          OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.14.6          OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.14.6          OK         -

-----------------------
|  Scan Configuration |
-----------------------

 hpaio                HPLIP-SANE-Backend        REQUIRED        -               3.14.6          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension       REQUIRED        -               3.14.6          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `v4l:/dev/video0' is a Noname HD WebCam virtual device


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
HP-HP-LaserJet-MFP-M227-M231
----------------------------
Type: Unknown
Device URI: usb://HP/LaserJet%20MFP%20M227-M231?serial=VNC4G10815
PPD: /etc/cups/ppd/HP-HP-LaserJet-MFP-M227-M231.ppd
PPD Description: HP LaserJet MFP M725 Postscript (recommended)
Printer status: la impresora HP-HP-LaserJet-MFP-M227-M231 está deshabilitada desde mar 21 noUnplugged or turned off
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


--------------
| PERMISSION |
--------------

 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible 
error: 'libssl-dev' package is missing/incompatible 
error: 'python-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'avahi-utils' package is missing/incompatible 
error: 'python-reportlab' package is missing/incompatible 

Total Errors: 8
Total Warnings: 1

Run 'hp-doctor' command to prompt and fix the issues. 

Done.

thanks a lot, you shows lots of patience.

Last edited by mx (2017-11-21 19:35:13)


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#16 2017-11-21 20:21:47

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: (SOLVED) scanner softwares can not find scanner device

Yes, unfortunately, you are running Debian Jessie and we can jump through a billion hoops but hplip does not support your scanner, according to the table I posted earlier. Your only choice if you really need that scanner will be to dist-upgrade your system to track Stretch. Follow my instructions below exactly if you are interested:
First let's purge hplip and hplip-gui so we can start fresh after the dist-upgrade:

sudo apt purge hplip hplip-gui

Edit /etc/apt/sources.list to track Stretch. You want it to look like below. This must be edited with root permissions:

# 

# deb cdrom:[Debian GNU/Linux 8.7 _Bunsen-hydrogen_ - Snapshot amd64 LIVE/INSTALL Binary 20170429-16:52]/ jessie contrib main non-free

# deb cdrom:[Debian GNU/Linux 8.7 _Bunsen-hydrogen_ - Snapshot amd64 LIVE/INSTALL Binary 20170429-16:52]/ jessie contrib main non-free

deb http://deb.debian.org/debian stretch main non-free contrib
#deb-src http://deb.debian.org/debian jessie main non-free contrib

deb http://security.debian.org/ stretch/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://deb.debian.org/debian stretch-updates main contrib non-free

After you have done this, do the following:

sudo apt update
sudo apt dist-upgrade
sudo apt install hplip hplip-gui

Then finally, run hp-setup. I can confirm that hplip and hplip-gui both work as I run them. Also, your scanner will be supported after all of this.

Offline

#17 2017-11-21 20:29:50

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,086
Website

Re: (SOLVED) scanner softwares can not find scanner device

tknomanzr wrote:

Yes, unfortunately, you are running Debian Jessie and we can jump through a billion hoops but hplip does not support your scanner, according to the table I posted earlier. Your only choice if you really need that scanner will be to dist-upgrade your system to track Stretch

The stretch package version is also available in jessie-backports (as shown in the OP's output); upgrading to stretch will break several things on the OP's desktop so I think backports may be a better option here.

@OP: instructions here: https://backports.debian.org/Instructions/

EDIT: you already have the repositories (apparently) so just the targetted `apt-get` is required.

Last edited by Head_on_a_Stick (2017-11-21 20:31:40)

Offline

#18 2017-11-21 20:45:17

mx
Member
Registered: 2017-11-11
Posts: 60

Re: (SOLVED) scanner softwares can not find scanner device

could u be more expecific in what i have to do?
i am a total newbie..


Please, have in mind that I am a total newbie, please, be patience, i'm trying to learn. Thanks a lot.

Offline

#19 2017-11-21 20:54:40

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: (SOLVED) scanner softwares can not find scanner device

^ You are correct, @HoaS. I just personally dislike backports, mostly because I have trouble remembering what I have backported and what I have not.  However, I would hate to break the OP's desktop.

@OP you would issue the following commands:

sudo apt-get -t jessie-backports install hplip hplip-gui

then run hp-setup. This is also a far safer method than what I suggested earlier which was a full system upgrade.

Offline

#20 2017-11-21 21:52:30

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,086
Website

Re: (SOLVED) scanner softwares can not find scanner device

tknomanzr wrote:

I have trouble remembering what I have backported

user@debian:~ $ aptitude search '?narrow(~i, ~Abackports)'                               
i   mksh                                 - MirBSD Korn Shell                              
user@debian:~ $

smile

Offline

Board footer

Powered by FluxBB