Upgrade to 3.9.12 problem

Bug #1055941 reported by Sanjay Kumar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

I am upgrading from hplip 3.11.5 to 3.12.9 on RedHat Enterprise Linux 5 using the hplip-3.12.9_rhel-5.0.i386.rpm file. I have followed the instructions. The rpm -Uvh failed as it complained of conflicts with files there already from 3.11.5. I remved HPLIP 3.11.5 using rpm -ev and installed 3.12.9 using rpm --iv. The install worked and I can create printer queues using h--setup but when I try to print a test page to the printer garbage (i.e. symbols onmultiple pages) come out. This happens for both a HP Officve Jet 6000 and an HP Office Jet 6700, the latter being the reason I upgraded to hplip 3.12.9. Ihvae run hp-checl, including hp-check --fix. On running hp-check now the output is as below:-

warning: python-dbus not installed.

HP Linux Imaging and Printing System (ver. 3.12.9)
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: /var/cache/cups/hp-check.log

Initializing. Please wait...

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

 Kernel: 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 GNU/Linux
 Host: rherpprtt1vm.barnardos.org.uk
 Proc: 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 GNU/Linux
 Distribution: rhel 5.0

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

HPLIP-Version: HPLIP 3.12.9
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for rhel distro 5.0 version 

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

[hplip]
version=3.12.9

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.12.9
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
libusb01-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=no
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=yes
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.9
restricted-build=no
ui-toolkit=qt3
qt3=yes
qt4=no
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:
Plugins are not installed. Could not access file: No such file or directory

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 8.15.2 OK -
 network Network-wget OPTIONAL - 1.11.4 OK -
 scanimage Shell-Scanning OPTIONAL 1.0 1.0.18 OK -
 xsane SANE-GUI OPTIONAL 0.9 0.991 OK -
 cups CUPS REQUIRED 1.1 1.3.7 OK 'CUPS Scheduler is running'

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

 libcrypto OpenSSL-Crypto-Lib REQUIRED - 0.9.8 OK -
 pil Python-Image-Lib OPTIONAL - 1.1.5 OK -
 libjpeg JPEG-Lib REQUIRED - - OK -
 libpthread POSIX-Threads-Lib REQUIRED - - OK -
 pyqt Python-Qt REQUIRED 2.3 3.16.0 OK -
 cups-devel CUPS-SDK REQUIRED - 1.3.7 OK -
 libusb USB-Lib REQUIRED - 0.1.12 OK -
 sane Scan-Lib REQUIRED - - OK -
 cups-image CUPS-Image-Lib REQUIRED - 1.3.7 OK -
 python-xml Python-XML-Lib REQUIRED - 1.95.8 OK -
 python-notify Desktop-notifications OPTIONAL - - OK -

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

 libtool Build-tools REQUIRED - 1.5.22 OK -

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

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

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

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

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

device `hpaio:/net/HP_Color_LaserJet_CM2320fxi_MFP?ip=10.20.162.26' is a Hewlett-Packard HP_Color_LaserJet_CM2320fxi_MFP all-in-one
device `hpaio:/net/Officejet_6500_E709a?ip=10.64.76.20' is a Hewlett-Packard Officejet_6500_E709a all-in-one
device `hpaio:/net/Officejet_6500_E710a-f?ip=10.64.102.20' is a Hewlett-Packard Officejet_6500_E710a-f all-in-one
device `hpaio:/net/Officejet_6500_E709a?ip=10.69.41.33' is a Hewlett-Packard Officejet_6500_E709a all-in-one

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

No devices found.

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

DRSCOT8CQUE
-----------
Type: Unknown
Device URI: socket://10.69.253.29/9100
PPD: /etc/cups/ppd/DRSCOT8CQUE.ppd
PPD Description: Canon iR 6870C EUR PS
Printer status: printer DRSCOT8CQUE is idle. enabled since Tue 18 Oct 2011 11:56:49 IST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

hp_LaserJet_4250
----------------
Type: Printer
Device URI: hp:/net/hp_LaserJet_4250?ip=10.20.128.50
PPD: /etc/cups/ppd/hp_LaserJet_4250.ppd
PPD Description: HP LaserJet 4250 hpijs pcl3, 3.10.4.16
Printer status: printer hp_LaserJet_4250 is idle. enabled since Mon 28 Jun 2010 14:51:18 IST
Communication status: Good

hp_LaserJet_4250_Servers
------------------------
Type: Printer
Device URI: hp:/net/hp_LaserJet_4250?ip=10.20.128.52
PPD: /etc/cups/ppd/hp_LaserJet_4250_Servers.ppd
PPD Description: HP LaserJet 4250 hpijs pcl3, 3.10.4.16
Printer status: printer hp_LaserJet_4250_Servers is idle. enabled since Mon 28 Jun 2010 15:01:27 IST
Communication status: Good

HQAPPS5
-------
Type: Printer
Device URI: hp:/net/HP_Color_LaserJet_CM2320fxi_MFP?ip=10.20.162.26
PPD: /etc/cups/ppd/HQAPPS5.ppd
PPD Description: HP Color LaserJet cm2320fxi MFP hpijs pcl3, 3.10.4.16
Printer status: printer HQAPPS5 is idle. enabled since Mon 05 Jul 2010 15:56:05 IST
error: Required plug-in status: Not installed
Communication status: Good

HQBITS7CQUE
-----------
Type: Unknown
Device URI: socket://10.20.128.47/9100
PPD: /etc/cups/ppd/HQBITS7CQUE.ppd
PPD Description: Canon iR C3220 PS
Printer status: printer HQBITS7CQUE is idle. enabled since Thu 23 Aug 2012 15:24:22 IST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

HQFIN1
------
Type: Printer
Device URI: hp:/net/hp_LaserJet_4250?ip=10.20.128.50
PPD: /etc/cups/ppd/HQFIN1.ppd
PPD Description: HP LaserJet 4250 hpijs pcl3, 3.10.4.16
Printer status: printer HQFIN1 is idle. enabled since Wed 30 Jun 2010 15:00:17 IST
Communication status: Good

HQFINC12CQUE
------------
Type: Unknown
Device URI: socket://10.20.153.65/9100
PPD: /etc/cups/ppd/HQFINC12CQUE.ppd
PPD Description: Canon iR C2380/2550 PS
Printer status: printer HQFINC12CQUE is idle. enabled since Mon 03 Oct 2011 15:01:15 IST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

PRLOND17
--------
Type: Printer
Device URI: hp:/net/Officejet_6500_E709a?ip=10.64.76.20
PPD: /etc/cups/ppd/PRLOND17.ppd
PPD Description: HP Officejet 6500 e709a hpijs, 3.10.4.16
Printer status: printer PRLOND17 is idle. enabled since Wed 30 Jun 2010 15:06:17 IST
error: Unable to communicate with device (code=12): hp:/net/Officejet_6500_E709a?ip=10.64.76.20
error: unable to open channel
error: Communication status: Failed

PRLOND66HP
----------
Type: Printer
Device URI: hp:/net/Officejet_6500_E710a-f?ip=10.64.102.20
PPD: /etc/cups/ppd/PRLOND66HP.ppd
PPD Description: HP Officejet 6500 e710a-f hpijs, 3.11.5
Printer status: printer PRLOND66HP is idle. enabled since Wed 18 May 2011 17:21:07 IST
Communication status: Good

PRSCOT46
--------
Type: Printer
Device URI: hp:/net/Officejet_6500_E709a?ip=10.69.41.33
PPD: /etc/cups/ppd/PRSCOT46.ppd
PPD Description: HP Officejet 6500 e709a hpijs, 3.10.4.16
Printer status: printer PRSCOT46 is idle. enabled since Thu 20 Jan 2011 13:38:51 GMT
error: Unable to communicate with device (code=12): hp:/net/Officejet_6500_E709a?ip=10.69.41.33
error: unable to open channel
error: Communication status: Failed

PRYORK65CQUE
------------
Type: Unknown
Device URI: socket://10.72.37.23/9100
PPD: /etc/cups/ppd/PRYORK65CQUE.ppd
PPD Description: Canon iR C2380/2550 PS
Printer status: printer PRYORK65CQUE is idle. enabled since Thu 28 Apr 2011 13:49:51 IST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

TOM6000a
--------
Type: Printer
Device URI: hp:/net/Officejet_6000_E609a?ip=10.20.131.6
PPD: /etc/cups/ppd/TOM6000a.ppd
PPD Description: HP Officejet 6000 e609a hpijs, 3.12.9
Printer status: printer TOM6000a is idle. enabled since Mon 24 Sep 2012 10:33:26 IST
Communication status: Good

TOMTEST
-------
Type: Unknown
Device URI: socket://10.20.128.47/9100

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

groups user-groups Required - - OK root bin daemon sys adm disk lp wheel

-----------
| SELINUX |
-----------

SELinux disabled Optional - - OK -

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

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None

Total Errors: 7
Total Warnings: 1

Re-run 'hp-check --fix' command to prompt and fix the issues.

Done.

The only errors seem to be for printers that are not switched on. So hp-check suggests everything is OK, but I still get garbage on the test page on the HP Office Jet 6000.

Interestingly enough, if I copy the ppd file for the Office Jet 6000 from a queue created on a server by 3.11.5 into the CUPS ppd directory on the box with HPLIP 3.12.9 on it the file prints correctly.

Can anyone suggest anything?

Regards,

Tom.

Revision history for this message
Sanjay Kumar (sanjay-kumar14) wrote :

Hi,

Please find HPCUPS enabled RPMs in the attachment and the steps to install RPM and dependent packages.

****Please note HPIJS rpms will no longer be supported for RHEL5 because of issues in HPIJS path.

Steps:
1) Run following commands in root mode
     yum clean all
     yum check-update
     yum install gcc-c++
     yum install zlib-devel
     rpm -ev --nodeps libsane-hpaio
     rpm -ev --nodeps hplip-gui
     rpm -ev --nodeps hplip
     rpm -ev --nodeps hpijs
     rpm -ev --nodeps hplipfull

4) Download cups source code (1.4.8) from http://www.cups.org/software.php and then build and install.
    Steps:
    1)Extract cups source code to some directory.
    2)Open terminal and point to source root directory (e.g cd /home/hptest/Desktop/cups-1.4.8)
    3)Run following commands
        a) ./configure
        b) make
        c) make install
5) install hplip rpm (hpcups enabled) file
   e.g rpm -Uvh hplipfull-3.12.9-0.i386.rpm

6) run hp-check --fix command and let it install all REQUIRED DEPENDENCIES and add lp and sys groups (Using custom option)

7) Reboot the machine Linux OS

8) Add print queues and try to Print/Scan

Thanks,
Sanjay

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

Other bug subscribers

Related questions

Remote bug watches

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