My model printer, officejet pro 8620, is evidently unsupported by hplip 3.15.11 and am unable to configure the printer, is there a way of accomplishing this. I run Ubuntu 14.04

Asked by Dave Brown

Unable to configure printer (officejet pro 8620) using hplip in Ubuntu 14.04. Evidently it is an unsupported model in the latest issue of hplip. Is there any way I can configure the printer as I really need to use the scanner.
Regards
               Dave Brown.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
goutam kodu
Solved:
Last query:
Last reply:
Revision history for this message
goutam (goutamkk) said :
#1

Can you provide us 'hp-check' command output and also 'hp-setup -i -g' command output here.

Revision history for this message
Dave Brown (dsbrown4) said :
#2

dave@dave-251-a11a:~$ hp-check
Saving output in log file: /home/dave/hp-check.log

HP Linux Imaging and Printing System (ver. 3.14.3)
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: ubuntu-14.04 version is not supported. Using ubuntu-13.10 versions dependencies to verify and install...

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

 Kernel: 3.16.0-59-generic #79~14.04.1-Ubuntu SMP Mon Jan 18 15:39:06 UTC 2016 GNU/Linux
 Host: dave-251-a11a
 Proc: 3.16.0-59-generic #79~14.04.1-Ubuntu SMP Mon Jan 18 15:39:06 UTC 2016 GNU/Linux
 Distribution: ubuntu 14.04
 Bitness: 32 bit

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

HPLIP-Version: HPLIP 3.14.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 14.04 version

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

[hplip]
version=3.14.3

[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.3
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.3
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 such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 01/02/16 16:08:32
version = 3.14.3

 <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.10 OK -
 network Network-wget OPTIONAL - 1.15 OK -
 scanimage Shell-Scanning OPTIONAL 1.0 1.0.23 OK -
 avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
 dbus DBus REQUIRED - 1.6.18 OK -
 cups CUPS REQUIRED 1.1 1.7.2 OK 'CUPS Scheduler is running'
 xsane SANE-GUI OPTIONAL 0.9 0.998 OK -

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

 reportlab Python-PDF-Lib OPTIONAL 2.0 3.0 OK -
 libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
 pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
 pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.10.4 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 -
 python-devel Python-SDK REQUIRED 2.2 2.7.6 OK -
 pyqt4 Python-Qt4 REQUIRED 4.0 4.10.4 OK -
 cups-devel CUPS-SDK REQUIRED - 1.7.2 OK -
 sane-devel SANE-SDK REQUIRED - 1.0.23 OK -
 libusb USB-Lib REQUIRED - 1.0 OK -
 sane Scan-Lib REQUIRED - 1.0.23 OK -
 cups-image CUPS-Image-Lib REQUIRED - 1.7.2 OK -
 libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.7.2 OK -
 python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
 python-notify Desktop-notifications OPTIONAL - - OK -

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

 gcc gcc-Compiler REQUIRED - 4.8.4 OK -
 libtool Build-tools REQUIRED - 2.4.2 OK -
 make GNU-Build-tools REQUIRED 3.0 3.81 OK -

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

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

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

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

------------------------------

dave@dave-251-a11a:~$ hp-setup -i -g

HP Linux Imaging and Printing System (ver. 3.14.3)
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.

hp-setup[3809]: debug: param=
hp-setup[3809]: debug: selected_device_name=None
(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*) ?

Using connection type: usb

hp-setup[3809]: debug:
DEVICE CHOOSER setup_fax=True, setup_print=True
hp-setup[3809]: debug: Probing bus: usb
hp-setup[3809]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-setup[3809]: debug: Mode=0
error: No device selected/specified or that supports this functionality.
dave@dave-251-a11a:~$

Revision history for this message
goutam kodu (goutam-hplip) said :
#3

Hi,

The hplip version installed in your system is 3.14.3 . The device is supported from hplip 3.14.4 version onwards.
Please download the file 'hplip-3.15.11.run' from here http://hplipopensource.com/hplip-web/gethplip.html.
Run command 'sh hplip-3.15.11.run' in terminal to install the package.

Run command 'hp-setup' to configure the printer.

Let me know if this fixed the issue.

Thanks,
Goutam

Revision history for this message
Dave Brown (dsbrown4) said :
#4

Hi Goutam,
                 Many thanks, it is getting a bit late here so will try
tomorrow and let you know.
Regards,
                 Dave Brown'

On 01/02/16 19:52, goutam kodu wrote:
> Your question #284234 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/284234
>
> Status: Open => Answered
>
> goutam kodu proposed the following answer:
> Hi,
>
> The hplip version installed in your system is 3.14.3 . The device is supported from hplip 3.14.4 version onwards.
> Please download the file 'hplip-3.15.11.run' from here http://hplipopensource.com/hplip-web/gethplip.html.
> Run command 'sh hplip-3.15.11.run' in terminal to install the package.
>
> Run command 'hp-setup' to configure the printer.
>
> Let me know if this fixed the issue.
>
> Thanks,
> Goutam
>

Revision history for this message
Dave Brown (dsbrown4) said :
#5

Hi Goutam,
                     Just tried to do as you recommended, but no luck, I
probably need a plug in 0f some kind to achieve the installation. Below
is a copy of what happened when I tried, I tried twice as you will see,
once just using the command and then I tried using sudo.
dave@dave-251-a11a:~$ sh hplip-3.15.11.run
sh: 0: Can't open hplip-3.15.11.run
dave@dave-251-a11a:~$ sudo sh hplip-3.15.11.run
[sudo] password for dave:
sh: 0: Can't open hplip-3.15.11.run
dave@dave-251-a11a:~$

On 01/02/16 20:52, Dave Brown wrote:
> Your question #284234 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/284234
>
> Status: Answered => Open
>
> You are still having a problem:
> Hi Goutam,
> Many thanks, it is getting a bit late here so will try
> tomorrow and let you know.
> Regards,
> Dave Brown'
>
> On 01/02/16 19:52, goutam kodu wrote:
>> Your question #284234 on HPLIP changed:
>> https://answers.launchpad.net/hplip/+question/284234
>>
>> Status: Open => Answered
>>
>> goutam kodu proposed the following answer:
>> Hi,
>>
>> The hplip version installed in your system is 3.14.3 . The device is supported from hplip 3.14.4 version onwards.
>> Please download the file 'hplip-3.15.11.run' from here http://hplipopensource.com/hplip-web/gethplip.html.
>> Run command 'sh hplip-3.15.11.run' in terminal to install the package.
>>
>> Run command 'hp-setup' to configure the printer.
>>
>> Let me know if this fixed the issue.
>>
>> Thanks,
>> Goutam
>>

Revision history for this message
goutam (goutamkk) said :
#6

can you try running command

chmod a+x hplip-3.15.11.run
bash hplip-3.15.11.run

Revision history for this message
Dave Brown (dsbrown4) said :
#7

Hi Goutam,
                     Sorry mate no luck, I tried putting the regular
tarball on the desk top as well, still no luck.The following is what is
shown in the terminal.
dave@dave-251-a11a:~$ chmod a+x hplip-3.15.11.run
chmod: cannot access ‘hplip-3.15.11.run’: No such file or directory
dave@dave-251-a11a:~$ bash hplip-3.15.11.run
bash: hplip-3.15.11.run: No such file or directory
dave@dave-251-a11a:~$ chmod a+x hplip-3.15.11.run
chmod: cannot access ‘hplip-3.15.11.run’: No such file or directory
dave@dave-251-a11a:~$ bash hplip-3.15.11.run

On 02/02/16 16:47, goutam wrote:
> Your question #284234 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/284234
>
> Status: Open => Answered
>
> goutam proposed the following answer:
> can you try running command
>
> chmod a+x hplip-3.15.11.run
> bash hplip-3.15.11.run
>

Revision history for this message
goutam kodu (goutam-hplip) said :
#8

can you check where you have saved the file and run the commands there.

You can try copying the files in /tmp directory and retry running the commands
chmod a+x /tmp/hplip-3.15.11.run
bash /tmp/hplip-3.15.11.run

Revision history for this message
Dave Brown (dsbrown4) said :
#9

hi Goutam,
                 Sorry I couldn't get back to sooner, below is what
happened when I tried as you suggested. It appears I may have a real
problem unless Ubuntu updates their software centre. I saved the hplip
3.15.11 to the desktop.
Regards,
              Dave Brown.
dave@dave-251-a11a:~$ chmod a+x /desktop/hplip-3.15.11.run
chmod: cannot access ‘/desktop/hplip-3.15.11.run’: No such file or directory
dave@dave-251-a11a:~$ bash /desktop/phlip-3.15.11-run
bash: /desktop/phlip-3.15.11-run: No such file or directory
dave@dave-251-a11a:~$

On 02/02/16 18:53, goutam kodu wrote:
> Your question #284234 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/284234
>
> Status: Open => Answered
>
> goutam kodu proposed the following answer:
> can you check where you have saved the file and run the commands there.
>
> You can try copying the files in /tmp directory and retry running the commands
> chmod a+x /tmp/hplip-3.15.11.run
> bash /tmp/hplip-3.15.11.run
>

Revision history for this message
Best goutam kodu (goutam-hplip) said :
#10

The path provided to the command is incorrect

Please follow below command.
chmod a+x /home/$USER/Desktop/hplip-3.15.11.run
bash /home/$USER/Desktop/hplip-3.15.11.run

(or)

Try to copy the file to /tmp folder and run the commands.

If it still doesn't work, try to install the package manually by follow the installation instructions here http://hplipopensource.com/hplip-web/install/manual/distros/ubuntu.html

Revision history for this message
Dave Brown (dsbrown4) said :
#11

Hi Goutam,
                     Many-many thanks, hplip is now installed. It
doesn't appear to recognize the scanner only the printer and fax
facility but I'm grateful for what I have. Re the hplip web site, that
is where I went to first and when I used it everything went O.K. untill
I got to the final phase and it failed to recognize any printer
connected by usb.
Regards,
                 Dave Brown.

On 05/02/16 19:02, goutam kodu wrote:
> Your question #284234 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/284234
>
> Status: Open => Answered
>
> goutam kodu proposed the following answer:
> The path provided to the command is incorrect
>
> Please follow below command.
> chmod a+x /home/$USER/Desktop/hplip-3.15.11.run
> bash /home/$USER/Desktop/hplip-3.15.11.run
>
> (or)
>
> Try to copy the file to /tmp folder and run the commands.
>
> If it still doesn't work, try to install the package manually by follow
> the installation instructions here http://hplipopensource.com/hplip-
> web/install/manual/distros/ubuntu.html
>

Revision history for this message
Dave Brown (dsbrown4) said :
#12

Hi Goutam,
                     Correction to the last email, it does recognize the
scanner, just took quite a while to locate but everything is now O.K.
Once again many thanks.
Regards,
                 Dave Brown.

On 06/02/16 12:27, Dave Brown wrote:
> Your question #284234 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/284234
>
> Status: Answered => Open
>
> You are still having a problem:
> Hi Goutam,
> Many-many thanks, hplip is now installed. It
> doesn't appear to recognize the scanner only the printer and fax
> facility but I'm grateful for what I have. Re the hplip web site, that
> is where I went to first and when I used it everything went O.K. untill
> I got to the final phase and it failed to recognize any printer
> connected by usb.
> Regards,
> Dave Brown.
>
> On 05/02/16 19:02, goutam kodu wrote:
>> Your question #284234 on HPLIP changed:
>> https://answers.launchpad.net/hplip/+question/284234
>>
>> Status: Open => Answered
>>
>> goutam kodu proposed the following answer:
>> The path provided to the command is incorrect
>>
>> Please follow below command.
>> chmod a+x /home/$USER/Desktop/hplip-3.15.11.run
>> bash /home/$USER/Desktop/hplip-3.15.11.run
>>
>> (or)
>>
>> Try to copy the file to /tmp folder and run the commands.
>>
>> If it still doesn't work, try to install the package manually by follow
>> the installation instructions here http://hplipopensource.com/hplip-
>> web/install/manual/distros/ubuntu.html
>>

Revision history for this message
Dave Brown (dsbrown4) said :
#13

Many-many thanks to Goutam, much appreciated.
Dave Brown.

Revision history for this message
Dave Brown (dsbrown4) said :
#14

Thanks goutam kodu, that solved my question.