HP Photosmart 7520 setup in Elementary OS /Ubuntu Precise

Asked by JoaoH

I am running Elementary OS Luna which is Ubutu 12.04 underneath. All works well, I have an HP Photosmart 7510 and hplip set it up perfectly. I like the printer so much I purchased another one, but this one is the 7520.
I cannot get it to be recognized by hplip in network mode in order for the scanning to work. I can add it using CUPS and it prints with no issue.

I decided to install the latest version of hplip and now I am running 3.14.3 and it still will not recognize the printer using the network mode.

I decided to give the printer a fixed ip address and run the Manual Discovery for Network/Ethernet/Wireless using the fixed ip address and it still does not find it. Yet I can put the same ip address in the browser and can access the printer perfectly!

It also still finds the 7510 perfectly!

Now, my daughter has a alptop with Gnome Ubuntu 13.10 and it finds both perfectly?

*******************************************************************************************
output of hp-check -t
joao@D630:~/Downloads$ hp-check -t

HP Linux Imaging and Printing System (ver. 3.14.3)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2011-14 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).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux D630 3.2.0-60-generic #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Distribution:
unknown 0.0

Checking Python version...
OK, version 2.7.3 installed

Checking PyQt 4.x version...
OK, version 4.9.1 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.5.3
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 1.0.0

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.14.3 currently installed in '/usr/share/hplip'.

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-3.14.3
html=/usr/share/doc/hplip-3.14.3
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
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=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/Photosmart_7510_series?zc=HP3AB7F3"
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 =

[installation]
date_time = 04/04/2014 10:23:24
version = 3.14.3

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

No devices found.

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

Brother-HL-3070CW
-----------------
Type: Unknown
Device URI: dnssd://Brother%20HL-3070CW%20series._pdl-datastream._tcp.local/
PPD: /etc/cups/ppd/Brother-HL-3070CW.ppd
PPD Description: Brother HL-3070CW BR-Script3
Printer status: printer Brother-HL-3070CW is idle. enabled since Thu 03 Apr 2014 01:32:37 PM PDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

Photosmart_7510
---------------
Type: Printer
Device URI: hp:/net/Photosmart_7510_series?zc=HP3AB7F3
PPD: /etc/cups/ppd/Photosmart_7510.ppd
PPD Description: HP Photosmart 7510 Series hpijs, 3.12.2
Printer status: printer Photosmart_7510 is idle. enabled since Thu 03 Apr 2014 07:16:44 PM PDT

HP Linux Imaging and Printing System (ver. 3.14.3)
System Tray Status Service ver. 2.0

Copyright (c) 2001-9 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.

/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)
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/net/Photosmart_7510_series?zc=HP3AB7F3' is a Hewlett-Packard Photosmart_7510_series all-in-one

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

---------------
| USER GROUPS |
---------------

joao adm lp cdrom sudo dip plugdev lpadmin sambashare

User member of group 'lp'. Enables print/ scan/ fax.
User member of group 'lpadmin'.

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

error: 1 error or warning.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.
joao@D630:~/Downloads$
HP Linux Imaging and Printing System (ver. 3.14.3)
HP Device Manager ver. 15.0

Copyright (c) 2001-9 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.

joao@D630:~/Downloads$ clear

joao@D630:~/Downloads$ hp-check -t

HP Linux Imaging and Printing System (ver. 3.14.3)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2011-14 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).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux D630 3.2.0-60-generic #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Distribution:
unknown 0.0

Checking Python version...
OK, version 2.7.3 installed

Checking PyQt 4.x version...
OK, version 4.9.1 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.5.3
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 1.0.0

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.14.3 currently installed in '/usr/share/hplip'.

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-3.14.3
html=/usr/share/doc/hplip-3.14.3
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
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=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/Photosmart_7510_series?zc=HP3AB7F3"
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 =

[installation]
date_time = 04/04/2014 10:37:23
version = 3.14.3

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

No devices found.

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

Brother-HL-3070CW
-----------------
Type: Unknown
Device URI: dnssd://Brother%20HL-3070CW%20series._pdl-datastream._tcp.local/
PPD: /etc/cups/ppd/Brother-HL-3070CW.ppd
PPD Description: Brother HL-3070CW BR-Script3
Printer status: printer Brother-HL-3070CW is idle. enabled since Thu 03 Apr 2014 01:32:37 PM PDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

Photosmart_7510
---------------
Type: Printer
Device URI: hp:/net/Photosmart_7510_series?zc=HP3AB7F3
PPD: /etc/cups/ppd/Photosmart_7510.ppd
PPD Description: HP Photosmart 7510 Series hpijs, 3.12.2
Printer status: printer Photosmart_7510 is idle. enabled since Thu 03 Apr 2014 07:16:44 PM PDT
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/net/Photosmart_7510_series?zc=HP3AB7F3' is a Hewlett-Packard Photosmart_7510_series all-in-one

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

---------------
| USER GROUPS |
---------------

joao adm lp cdrom sudo dip plugdev lpadmin sambashare

User member of group 'lp'. Enables print/ scan/ fax.
User member of group 'lpadmin'.

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

error: 1 error or warning.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.
joao@D630:~/Downloads$
*************************************************************************************************

Question information

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

Hi Joaoh,

Thank you for using hplip and providing us hp-check log

Can you provide us the terminal output of command:

hp-setup -i -g <IP>

Where <IP> should be IP address assigned to your device 7520.

For example:
hp-setup -i -g 192.128.0.15

Thanks,
goutam

Revision history for this message
JoaoH (joao-machado-family) said :
#2

Hi goutam,

I was able to finaly install hplip using the installer from the website but I had to enable the root account first. Then run the installer and then disable the root account. SUDO just would not work! Even after the install the gui did not find the printer, I had to manualy enter the ip address for it to find it. Below is the output;

****************************************************************************************************************

joao@D630:~/Downloads/appcenter$ hp-setup -i -g 10.0.0.4

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[1940]: debug: param=10.0.0.4
hp-setup[1940]: debug: selected_device_name=None
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)

hp-setup[1940]: debug: Trying IP address 10.0.0.4
hp-setup[1940]: debug: Found: hp:/net/Photosmart_7520_series?ip=10.0.0.4
hp-setup[1940]: debug: hp:/net/Photosmart_7520_series?ip=10.0.0.4: back_end:hp is_hp:True bus:net model:Photosmart_7520_series serial: dev_file: host:10.0.0.4 zc: port:1
hp-setup[1940]: debug: Cache miss: photosmart_7520_series
hp-setup[1940]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[1940]: debug: Searching for section [photosmart_7520_series] in file /usr/share/hplip/data/models/models.dat
hp-setup[1940]: debug: Found section [photosmart_7520_series] in file /usr/share/hplip/data/models/models.dat

Setting up device: hp:/net/Photosmart_7520_series?ip=10.0.0.4

hp-setup[1940]: debug: hp:/net/Photosmart_7520_series?ip=10.0.0.4: back_end:hp is_hp:True bus:net model:Photosmart_7520_series serial: dev_file: host:10.0.0.4 zc: port:1
hp-setup[1940]: debug: Model=Photosmart_7520_series
hp-setup[1940]: debug: hp:/net/Photosmart_7520_series?ip=10.0.0.4: back_end:hp is_hp:True bus:net model:Photosmart_7520_series serial: dev_file: host:10.0.0.4 zc: port:1
hp-setup[1940]: debug: (CUPS 1.2.x) Getting list of PPDs using CUPS_GET_PPDS...
hp-setup[1940]: debug: CUPS PPD base path = /usr/share/cups/model
hp-setup[1940]: debug: Foomatic PPD base path = /usr/share/ppd
hp-setup[1940]: debug: Device URI dnssd://Brother%20HL-3070CW%20series._pdl-datastream._tcp.local/ is invalid/unknown
hp-setup[1940]: debug: Exception: 4 (Unknown/invalid device-uri field)
hp-setup[1940]: debug: hp:/net/Photosmart_7510_series?zc=HP3AB7F3: back_end:hp is_hp:True bus:net model:Photosmart_7510_series serial: dev_file: host:HP3AB7F3 zc:HP3AB7F3 port:1
hp-setup[1940]: debug: Cache miss: photosmart_7510_series
hp-setup[1940]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[1940]: debug: Searching for section [photosmart_7510_series] in file /usr/share/hplip/data/models/models.dat
hp-setup[1940]: debug: Found section [photosmart_7510_series] in file /usr/share/hplip/data/models/models.dat
hp-setup[1940]: debug: hp:/net/Photosmart_7520_series?ip=10.0.0.4: back_end:hp is_hp:True bus:net model:Photosmart_7520_series serial: dev_file: host:10.0.0.4 zc: port:1
hp-setup[1940]: debug: hpfax:/net/Photosmart_7520_series?ip=10.0.0.4: back_end:hpfax is_hp:True bus:net model:Photosmart_7520_series serial: dev_file: host:10.0.0.4 zc: port:1
hp-setup[1940]: debug: found print queue 'Photosmart_7520'
hp-setup[1940]: debug: found print queue 'Photosmart_7510'
hp-setup[1940]: debug: Device URI dnssd://Brother%20HL-3070CW%20series._pdl-datastream._tcp.local/ is invalid/unknown
hp-setup[1940]: debug: Exception: 4 (Unknown/invalid device-uri field)
hp-setup[1940]: debug: hp:/net/Photosmart_7510_series?zc=HP3AB7F3: back_end:hp is_hp:True bus:net model:Photosmart_7510_series serial: dev_file: host:HP3AB7F3 zc:HP3AB7F3 port:1
hp-setup[1940]: debug: hp:/net/Photosmart_7520_series?ip=10.0.0.4: back_end:hp is_hp:True bus:net model:Photosmart_7520_series serial: dev_file: host:10.0.0.4 zc: port:1
hp-setup[1940]: debug: hpfax:/net/Photosmart_7520_series?ip=10.0.0.4: back_end:hpfax is_hp:True bus:net model:Photosmart_7520_series serial: dev_file: host:10.0.0.4 zc: port:1
hp-setup[1940]: debug: found fax queue 'Photosmart_7520_fax'

---------------------
| PRINT QUEUE SETUP |
---------------------

warning: One or more print queues already exist for this device: Photosmart_7520.

Would you like to install another print queue for this device (y=yes, n=no*, q=quit) ?
****************************************************************************************************