HPLIP/Photosmart 5510 prints garbage under OpenSuse 12.3 /SuseStudio build.

Bug #1187633 reported by J. Powell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

Go and read step 10 first, before you bother reading through the hp-check output. I'm no programmer, but I've tried everything I can think of.

Distribution installation:
Problem: HP Photosmart 5510 prints garbage

Steps to Reproduce:

1. Install hplip hplip-hpijs cups cups-client
    Command: sudo zypper install hplip hplip-hpijs cups cups-client
   zypper added on dependencies:

  "The following NEW packages are going to be installed:
  cups cups-client dbus-1-python foomatic-filters gd hplip hplip-hpijs
  hplip-sane libexif12 libgphoto2-6 libieee1284 liblockdev1 libsnmp30 libv4l
  libv4l1-0 libv4l2-0 libv4lconvert0 lockdev python-gobject2 python-libxml2
  python-qt4 python-sip python-xml sane-backends snmp-mibs

 The following recommended package was automatically selected:
  foomatic-filters"

2. Accepted dependencies

3. Adding the printer:
  HP-setup Runs "Device Discovery"
  Selected Network ethernet/Wireless network (direct connection or jetdirect)
  Chose advanced options
  Checked manual discovery and provided printer IP
  Photosmart is discovered and assigned default name Photosmart_5510
  checked add printer
  Added user to lp and sys groups
  rebooted

4. Test Page:
  Verified that user is a member of sys and lp
  Opened HP device manager a tried to print test page
  Message: driver plugin required, clicked next
  Downloaded plugin: installation sucessful
  Printer printed several pages of odd characters
  restarted printer to save paper

5.Set Photosmart_5510 as default lp printer
  command: sudo lpadmin -d Photosmart_5510

6. tried to print textfile
  command: lp text.txt
  Still prints garbage

7. tried running hp-doctor, command was not found

8. Ran hp-check, found missing dependencies. I am not including that output because it is very long.

9. Ran hp-check --fix and downloaded missing dependencies. Here is the output from that.

HP Linux Imaging and Printing System (ver. 3.12.11)
Dependency/Version Check Utility ver. 15

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

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

Saving output in log file: /home/jason/hp-check.log

Initializing. Please wait...
warning: suse-12.3 version is not supported. Using suse-12.2 versions dependencies to verify and install...

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

 Kernel: 3.7.10-1.11-default #1 SMP Thu May 16 20:27:27 UTC 2013 (adf31bb) GNU/Linux
 Host: linux.site
 Proc: 3.7.10-1.11-default #1 SMP Thu May 16 20:27:27 UTC 2013 (adf31bb) GNU/Linux
 Distribution: suse 12.3

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

HPLIP-Version: HPLIP 3.12.11
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for suse distro 12.3 version

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

[hplip]
version=3.12.11

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver

# 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=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.12.11
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.12.11

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

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

 gs Ghostscript REQUIRED 7.05 9.06 OK -
 network Network-wget OPTIONAL - - OK -
 error: dbus DBus REQUIRED - 1.6.8 MISSING 'DBUS may not be installed or not running'
 scanimage Shell-Scanning OPTIONAL 1.0 1.0.23 OK -
 error: policykit Admin-Policy-framework OPTIONAL - 0.110 MISSING 'policykit needs to be installed'
 error: xsane SANE-GUI OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
 cups CUPS REQUIRED 1.1 1.5.4 OK 'CUPS Scheduler is running'

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

 error: reportlab Python-PDF-Lib OPTIONAL 2.0 - MISSING 'reportlab needs to be installed'
 error: libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 MISSING 'libcrypto needs to be installed'
 error: pil Python-Image-Lib OPTIONAL - - MISSING 'pil needs to be installed'
 pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.9.6 OK -
 error: libjpeg JPEG-Lib REQUIRED - - MISSING 'libjpeg needs to be installed'
 libpthread POSIX-Threads-Lib REQUIRED - 2.17 OK -
 python-dbus Python-DBUS REQUIRED 0.80.0 1.1.1 OK -
 error: python-devel Python-SDK REQUIRED 2.2 2.7.3 MISSING 'python-devel needs to be installed'
 pyqt4 Python-Qt4 REQUIRED 4.0 4.9.6 OK -
 error: cups-devel CUPS-SDK REQUIRED - 1.5.4 MISSING 'cups-devel needs to be installed'
 error: sane-devel SANE-SDK REQUIRED - - MISSING 'sane-devel needs to be installed'
 error: libusb USB-Lib REQUIRED - 1.0 MISSING 'libusb needs to be installed'
 sane Scan-Lib REQUIRED - - OK -
 error: cups-image CUPS-Image-Lib REQUIRED - 1.5.4 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.0.0 OK -
 error: python-notify Desktop-notifications OPTIONAL - - MISSING 'python-notify needs to be installed'

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

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

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

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

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

 error: hpaio HPLIP-SANE-Backend REQUIRED - 3.12.11 MISSING 'hpaio not found in /etc/sane.d/dll.conf. hpaio needs to be added in this file.'
 scanext Scan-SANE-Extension REQUIRED - 3.12.11 OK -

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

No Scanner found.

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

No devices found.

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

Photosmart_5510
---------------
Type: Printer
Device URI: hp:/net/Photosmart_5510_series?ip=192.168.10.5
PPD: /etc/cups/ppd/Photosmart_5510.ppd
PPD Description: HP Photosmart 5510 Series hpijs, 3.12.11
Printer status: printer Photosmart_5510 is idle. enabled since Wed 05 Jun 2013 12:27:43ready to print
error: Unable to communicate with device (code=12): hp:/net/Photosmart_5510_series?ip=192.168.10.5
error: unable to open channel
error: Communication status: Failed

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

error: groups user-groups Required - - MISSING sys,lp

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

Missing Required Dependencies
-----------------------------
error: 'dbus-1-devel' package is missing/incompatible
error: 'python-gobject2' package is missing/incompatible
error: 'openssl' package is missing/incompatible
error: 'libjpeg-devel' package is missing/incompatible
error: 'python-devel' package is missing/incompatible
error: 'python-xml' package is missing/incompatible
error: 'libpython2_7-1_0' package is missing/incompatible
error: 'cups-devel' package is missing/incompatible
error: 'cupsddk' package is missing/incompatible
error: 'sane-backends-devel' package is missing/incompatible
error: 'libusb-1_0-devel' package is missing/incompatible
error: 'libusb-1_0-0' package is missing/incompatible
error: 'cups-devel' package is missing/incompatible
error: 'net-snmp-devel' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libgphoto2-devel' package is missing/incompatible
error: 'hpaio' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
error: 'xsane' package is missing/incompatible
error: 'python-imaging' package is missing/incompatible
error: 'python-notify' package is missing/incompatible

Total Errors: 22
Total Warnings: 1

------------------------------------
| Installation of Missing Packages |
------------------------------------

Update repository and Install missing/incompatible packages. (a=install all*, c=custom_install, s=skip, q=quit):a
Updating repository
-------------------
Installing Missing/Incompatible packages
----------------------------------------
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses net-snmp-devel"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cupsddk"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses dbus-1-devel"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libpython2_7-1_0"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libjpeg-devel"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libusb-1_0-0"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-devel"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses openssl"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses sane-backends-devel"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups-devel"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-xml"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libtool"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-imaging"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libusb-1_0-devel"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-gobject2"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses python-notify"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses xsane"
cmd =su -c "zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses libgphoto2-devel"
Do you want to add missing groups to user?(y=yes*, n=no)y
cmd = /usr/sbin/usermod -Gsys,lp root

Need to reboot system to take effect of user group.

10. Still prints garbage from both gui and lp.

All of these dependencies that were listed as missing/incompatible were downloaded from the same OpenSuse repo as hplip hplip-hpijs, cups and cups-client, which raises the question of why the installation of the hp-setup didn't pull them down.

Now if you want I can try the manual method. However, the instructions from the manual method do not list any of these in step 2 (C) of the installation instructions for Opensuse at http://hplipopensource.com/hplip-web/install/manual/distros/novell.html

Revision history for this message
Johannes Meixner (jsmeix) wrote :

What exactly do you mean with
"OpenSuse 12.3 /SuseStudio build"?

I assume your system is not an usual openSUSE 12.3 system.

It seems you built your own system by using SUSE Studio?
If yes, what exactly did you build in SUSE Studio?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.