Simple Scan not detecting HP Office Jet Pro 8600 Plus (on network)

On a recent install of 18.04 LTS, I am able to print to my HP printer on the network without any manual config required, however Simple Scan cannot detect it, and I see the following in syslog when I run simple-scan:

tail -f /var/log/syslog
Mar 22 08:00:24 hummer simple-scan: io/hpmud/model.c 532: no icejet_pro_8600 attributes found in /usr/share/hplip/data/models/models.dat
Mar 22 08:00:24 hummer simple-scan: io/hpmud/model.c 543: no icejet_pro_8600 attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat
Mar 22 08:00:30 hummer simple-scan: io/hpmud/model.c 532: no icejet_pro_8600 attributes found in /usr/share/hplip/data/models/models.dat
Mar 22 08:00:30 hummer simple-scan: io/hpmud/model.c 543: no icejet_pro_8600 attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat

I checked the HPLIP supported devices page for my printer and found what I think/hope must be my printer in the list of supported devices, though I'm not sure about the "E-aio n911g" part.

HP OfficeJet Pro 8600 Plus E-aio n911g

hplip seems to be installed:

   :~$ dpkg -l | grep hplip
    ii  hplip                                 3.17.10+repack0-5                            amd64        HP Linux Printing and Imaging System (HPLIP)
    ii  hplip-data                            3.17.10+repack0-5                            all          HP Linux Printing and Imaging - data files
    ii  hplip                                 3.17.10+repack0-5                            amd64        HP Linux Printing and Imaging System (HPLIP)
    ii  hplip-data                            3.17.10+repack0-5                            all          HP Linux Printing and Imaging - data files

But, when I run hp-check (as suggested by the hplip troubleshooting section for scanners), it generates a list of errors and missing dependencies, leaving me rather confused. Apologies for the following large cut and paste from the output of hp-check.

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

 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.27'         OK         -
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.0           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.6.7           OK         -
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.6           OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.5           OK         -
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.6.7           MISSING    'python3-devel needs to be installed'
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -

--------------
| COMPILEDEP |
--------------

 error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
 error: gcc           gcc - GNU Project C and C++ Compiler                         REQUIRED        -               -               MISSING    'gcc needs to be installed'
 error: make          make - GNU make utility to maintain groups of programs       REQUIRED        3.0             -               MISSING    'make needs to be installed'

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

 cupsext              CUPS-Extension                                               REQUIRED        -               3.17.10         OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.17.10         OK         -

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

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

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

No Scanner found.

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

No devices found.

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

 

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

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

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible 
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libjpeg-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-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp-mibs-downloader' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'xsane' package is missing/incompatible 
error: 'python3-notify2' package is missing/incompatible 
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 

Total Errors: 17
Total Warnings: 0

So, that's all rather confusing to me and before I start downloading and installing stuff from HP to try to fix this I wanted to check if I'm on the right track here. I'd prefer an Ubuntu solution out of the normal repositories if can be done. Thanks for any help.

Check out these two pages -
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1728012 and - https://askubuntu.com/questions/1038557/ubuntu-18-04-scanner-program-does-not-detect-scanner

Good luck @Sleepygeek.

1 Like

Looks strange. Really, HPLIP page shows that your device is supported since version 3.11.10. And your HPLIP is newer.

You should start with reinstalling deb-packages of HPLIP:

sudo apt install --reinstall hplip hplip-data

and also make sure that you really have deb-packaged version, and not binary version. If unsure - follow uninstallation procedure from my post on AskUbuntu.

On Ubuntu MATE 18.04.2 LTS I see the following for 8600:

$ grep -r 8600 /usr/share/hplip/data/models/
/usr/share/hplip/data/models/models.dat:[officejet_pro_k8600]
/usr/share/hplip/data/models/models.dat:model1=HP Officejet Pro K8600 Color Printer
/usr/share/hplip/data/models/models.dat:model2=HP Officejet Pro K8600dn Color Printer
/usr/share/hplip/data/models/models.dat:[officejet_pro_8600]
/usr/share/hplip/data/models/models.dat:model1=HP OfficeJet Pro 8600 e-AiO N911a
/usr/share/hplip/data/models/models.dat:model2=HP OfficeJet Pro 8600 Plus e-AiO N911g
/usr/share/hplip/data/models/models.dat:model3=HP OfficeJet Pro 8600 Premium e-AiO N911n

I'm not sure will it work or not, but you can try to create new file with section named icejet_pro_8600:

cat <<EOF | sudo tee /usr/share/hplip/data/models/unreleased/unreleased.dat
[icejet_pro_8600]
align-type=0
clean-type=1
color-cal-type=0
copy-type=0
embedded-server-type=1
fax-type=6
fw-download=False
icon=officejet_k550.png
io-mfp-mode=1
io-mode=1
io-support=14
job-storage=0
linefeed-cal-type=0
model1=HP OfficeJet Pro 8600 e-AiO N911a
model2=HP OfficeJet Pro 8600 Plus e-AiO N911g
model3=HP OfficeJet Pro 8600 Premium e-AiO N911n
monitor-type=0
panel-check-type=1
pcard-type=0
plugin=0
plugin-reason=0
power-settings=0
pq-diag-type=0
r-type=0
r0-agent1-kind=2
r0-agent1-sku=950
r0-agent1-type=1
r0-agent2-kind=2
r0-agent2-sku=951
r0-agent2-type=4
r0-agent3-kind=2
r0-agent3-sku=951
r0-agent3-type=5
r0-agent4-kind=2
r0-agent4-sku=951
r0-agent4-type=6
r0-agent5-kind=2
scan-src=3
scan-type=7
status-battery-check=0
status-dynamic-counters=0
status-type=2
support-released=True
support-subtype=219b2b
support-type=2
support-ver=3.11.10
tech-class=Ampere
tech-subclass=Normal
tech-type=2
usb-pid=5912
usb-vid=3f0
wifi-config=3
EOF

and then retry.

Thanks very much for the replies folks.

@mdooley I skimmed those links but didn't find anything specific to HP. I saw Brother and Epson and a mention to and "others", so I'm hoping my HP isn't among the others.

@Norbert_X before I try your suggestions I think I'm going to go rummage in the garage for one of those weirdo square-ended USB cables and see if I can get it working locally over USB instead of across the network. It works across the LAN for my Win7 PC so that's what I was setting out to emulate with UM. I probably should have tried USB from the beginning but the scanner is way over there and my Ubuntu box is way over here, and that cable is as yet somewhere unknown, but I think I better find out if it works over USB before I get ahead of myself.

Found the cable! And the even better news is as soon as I plugged it in I was notified that drivers were being installed, and I now have a new local printer, Simple Scan can detect the scanner, and scanning works! Seems like it should work over the LAN but this is progress. So, anyone have a clue how I might get it working over the LAN or is today the day I rearrange my office? :slight_smile:

UPDATE: Figured it out. The magic words were:

sudo hp-setup -i

Which walked me right through it like so:

--------------------------------
| 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*) ? 

Now I can scan over the LAN and don't have to move furniture. Life is good.