No wireless on Photosmart 5515?

Asked by Hans Petter Birkeland

I am trying to get a Photosmart 5515e (5510d-series) to work over wireless network, but it seems to be more of a struggle than I can bear.

I have two Linux boxes, running Mint 9, 32 bit and Mint 11, 64 bit respectively. Downloaded and installed HPLIP 3.11.10 successfully after sorting out a bunch of dependencies. 'hp-check -t' gives no error messages or warnings. The printer is turned on and connected to my network, and works fine under Windows.

When running 'sudo hp-setup' and choosing 'Network/Ethernet/Wireless network' it does not find the printer: 'No devices found', even if I give the IP address under 'Show Advanced Options'.

When I check the HPLIP site, I find that my printer is supposed to be fully supported and even recommended. But the feature list says No network. For now I take this with a pinch of salt, because other printers that are also listed with no network seem to work. On http://matija.suklje.name/?q=node/31 there is a description of how to get a Photosmart c4380 to work wirelessly, and this one is also listed with no network. And the same goes for Deskjet 3050, which works well according to https://answers.launchpad.net/hplip/+question/143632.

As suggested in https://answers.launchpad.net/hplip/+question/150172 I tried the command 'snmpwalk -Os -c public -v 1 <ipaddress> 1.3.6.1.4.1.11.2.3.9.1.1.7.0'. The output on the Mint 9 machine is:

hpb@hp-laptop ~ $ snmpwalk -Os -c public -v 1 192.168.1.100 1.3.6.1.4.1.11.2.3.9.1.1.7.0
enterprises.11.2.3.9.1.1.7.0 = STRING: "MFG:HP;MDL:Photosmart 5510d series;CMD:PCL3GUI,PCL3,PJL,JPEG,URF,DW-PCL,802.11,DESKJET,DYN;CLS:PRINTER;DES:CQ183B;CID:HPIJVIPAV2;LEDMDIS:USB#FF#CC#00,USB#07#01#02,USB#FF#04#01;SN:CN1931128B05RW;S:038080C484201021005a020000045280064442800644628006441280064;Z:0102,05000009000009000009000009000009,0600,0700000000000000000000,0b0000000000000000000098ab0000000098ab0000000098ab0000000098ab,0c0,0e00000000000000000000,0f00000000000000000000,10000002000008000008000008000008,110,12000,150,17000000000000000000000000000000,181;"

So this detects the printer, but still hp-setup does not. So what can I do now?

On a note of frustration: How can a printer be called fully supported and recommended when important features like networking are ignored? I bought this printer under the impression that HP printers were more or less plug and play on Linux, thanks to HPLIP. But now it seems like very few support networking, and maybe none available in my country (Norway). I bought this printer instead of a Epson sx235w, which worked fine on the Mint 9 system, but I could not get the Mint 11 to use the right driver, even though it detected the printer just fine. I just thought HP would do a better job!

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sarbeswar Meher
Solved:
Last query:
Last reply:
Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#1

Hello Hans,

Sorry for all the inconvenience caused. Can you do following thins and then try again.

1) Rename [photosmart_5510_series] to [photosmart_5510d_series] in /usr/share/hplip/data/models/models.dat file

2)Restart the cups

3)Configure printer with wireless router and get a valid IP (from printer pannel).

4)Remove all existing print queues (if any) by running following command
   system-config-printer

5) Add new print queue by running following command

    hp-setup <IP_Address_Of_Printer>

6) Follow remaining on screen instructions and then try to print any document.

If problem still exists then please send me the output of

    hp-check -t

Thanks,
Sanjay

Revision history for this message
Hans Petter Birkeland (hanspb) said :
#2

Thank you, now hp-setup found the printer, and the scanner works. But hp-setup gave a warning:

Searching for device...
Found device: hp:/net/Photosmart_5510d_series?ip=192.168.1.100
/warning: No PPD found for model photosmart_5510d_series using new algorithm. Trying old algorithm...

and it would not print the test page. Looking for PPD in the wrong place, perhaps?

Just to have done it, here is the output of hp-check -t:

hpb@hp-laptop ~ $ sudo hp-check -t

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

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.

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 hp-laptop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux

Distribution:
linuxmint 9

Checking Python version...
OK, version 2.6.5 installed

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

Checking for CUPS...
Status: planlegger er i gang
Version: 1.4.3
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.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.11.10 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.11.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.11.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
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=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=no
cups-drv-install=no
cups-ppd-install=no
internal-tag=3.11.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-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:
[last_used]
device_uri = hp:/net/Photosmart_5510d_series?ip=192.168.1.100

[installation]
version = 3.11.10
date_time = 29. nov. 2011 21:25:29

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

No devices found.

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

Photosmart_5510d
----------------
Type: Printer
Device URI: hp:/net/Photosmart_5510d_series?ip=192.168.1.100
PPD: /etc/cups/ppd/Photosmart_5510d.ppd
PPD Description: HP Photosmart 5510 Series hpijs, 3.11.10
Printer status: skriveren Photosmart_5510d er inaktiv. aktivert siden to. 01. des. 2011 kl. 23.46 +0100
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_5510d_series?ip=192.168.1.100' is a Hewlett-Packard Photosmart_5510d_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 |
---------------

root

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

No errors or warnings.

Done.
hpb@hp-laptop ~ $

Revision history for this message
Best Sarbeswar Meher (sarbeswar-meher) said :
#3

Hi,

Thanks for providing the output of hp-check.

While setting up device, you mentioned that you got a warning message:

Searching for device...
Found device: hp:/net/Photosmart_5510d_series?ip=192.168.1.100
/warning: No PPD found for model photosmart_5510d_series using new algorithm. Trying old algorithm...

Well, this is the expected behavior.

If your problem is solved, please change the status to Solved.

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#4

Hello Hans,

Thanks for the update. I missed some steps. PLease do the following things to make printing work.

1) Replace 5510 with 5515d in /usr/share/cups/drv/hpcups.drv and then restart cups.

Something like below:
      {
      ModelName "HP Photosmart 5510d"
      Attribute "NickName" "" "HP Photosmart 5510d, $Version"
      Attribute "ShortNickName" "" "HP Photosmart 5510d"
      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 5510d series;DES:photosmart 5510d series;"
      PCFileName "hp-photosmart_5510d_series.ppd"
      Attribute "Product" "" "(HP Photosmart 5510d Series Printer)"
      }

2) Now remove and re add print queue, as mentioned above.
     system-config-printer (for removal)
     hp-setup -g <IP> for adding

Thanks,
Sanjay

Revision history for this message
Hans Petter Birkeland (hanspb) said :
#5

Thanks Sarbeswar Meher, that solved my question.

Revision history for this message
Hans Petter Birkeland (hanspb) said :
#6

The above reply came by accident :-P, but it was solved after a little additional tweaking.
I don't have a file called /usr/share/cups/drv/hpcups.drv, but there was a hpijs.drv. This however contained nothing about HP Photosmart 5510. So I copied in the section you provided, Sanjay. I also had to add 'ijs' to several lines. After doing that, printing works! So now I am happy again :-)

However, I think this shows that the installer needs an update, to take care of these steps that I had to do manually. Also, when the installer complains about missing dependencies, almost all the package names are wrong. The instructions for manual install contain the right names, however.

@Sarbeswar Meher: This is not the expected behaviour! The expected behaviour is not to complain about missing files, but to print. I suggest you learn something from Sanjay.

So thank you, Sanjay, for good help and fast response, have a nice weekend!

Revision history for this message
Hans Petter Birkeland (hanspb) said :
#7

Now I have also set up my other machine, with Mint 11. And on this one everything was as described by Sanjay. :-)