hp d1460 requires hplip 2.7.7

Issues related to hardware problems
feddds
Posts: 32
Joined: 2007/08/03 21:38:26

hp d1460 requires hplip 2.7.7

Post by feddds » 2008/06/20 19:49:33

in this site:
http://www.linuxprinting.org/show_printer.cgi?recnum=HP-Deskjet_D1460

well i have to say that after trying to autoinstall (sh hplip 2.8.5) according to: http://hplip.sourceforge.net/downloads.html my little hp deskjet wouldnt work. i checked cups and it is installed but the printer wont move...

other way is to upgrade hplip 1.6.7 from some repo...

other is to obtain the ppd cups file...

i ll keep searching...if sb know any hint will have be appreciated.

couldnt find usefull info in forum entries.

thanks!

feddds
Posts: 32
Joined: 2007/08/03 21:38:26

Re: hp d1460 requires hplip 2.7.7

Post by feddds » 2008/06/22 15:52:05

i know centos goes mostly for servers...but i will not quit on it on my amd cheap uniwill 256mb laptop...it runs like no other...
i usually use this printer...i installed hplip 2.8.6 but on booting...var/log/messages:
Jun 19 18:15:34 pc-00162 python: hplip-install[6285]: warning: Missing REQUIRED dependency for option 'fax': python-dbus (python-dbus - Python bindings for dbus)
Jun 19 18:15:34 pc-00162 python: hplip-install[6285]: warning: This installer cannot install 'python-dbus' for your distro/OS and/or version.
then:
Jun 19 18:38:23 pc-00162 hpiod: 1.6.7 accepting connections at 50000...
Jun 19 18:38:24 pc-00162 python: [2682]: error: dbus failed to load (python-dbus ver. 0.80+ required). Exiting...
well searching arrived to:
http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/dbus-python
where for centos 5
CentOS 5 ftp.centos.org/5.1/os/x86_64/CentOS/dbus-python-0.70-7.el5.x86_64.rpm
CentOS 5 ftp.centos.org/5.1/os/i386/CentOS/dbus-python-0.70-7.el5.i386.rpm
strange: no match python-dbus vs dbus-python...solved that being the same...still have version problem: 0.80+ vs 0.70
well, i ll keep going...

ah actually...i guess hplip 2.8.6 has never been installed.
[root@localhost ~]# yum info hplip
Loading "priorities" plugin
Loading "installonlyn" plugin
Setting up repositories
livecd 100% |=========================| 951 B 00:01
fc6-extras 100% |=========================| 1.1 kB 00:00
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
1965 packages excluded due to repository priority protections
Installed Packages
Name : hplip
Arch : i386
Version: 1.6.7
Release: 4.1.el5.3
Size : 12 M
Repo : installed
Summary: Proyecto de impresión e imágenes Linux HP

Description:
El Proyecto de Impresión e Imágenes para Linux de Hewlett-Packard provee
drivers para las impresoras HP y periféricos multifunción.


[root@localhost ~]#


feddds.

feddds
Posts: 32
Joined: 2007/08/03 21:38:26

(solved) Re: hp d1460 requires hplip 2.7.7

Post by feddds » 2008/06/23 19:51:32

solved!
from, http://hplip.sourceforge.net/downloads.html

---
[root@localhost ~]# sh hplip-2.8.5.run
Creating directory hplip-2.8.5
Verifying archive integrity... All good.
Uncompressing HPLIP 2.8.5 Self Extracting Archive

HP Linux Imaging and Printing System (ver. 2.8.5)
HPLIP Installer ver. 3.3

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

Installer log saved in: hplip-install_Mon-23-Jun-2008_16:31:52.log

|error: You are running the installer as root. It is highly recommended that you run the installer as
error: a regular (non-root) user. Do you still wish to continue?
Continue with installation (y=yes, n=no*, q=quit) ? y

note: Defaults for each question are maked with a '*'. Press to accept the default.


INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to chose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : c
c

Initializing. Please wait...
warning: Invalid ppd_dir value: None


INSTALL TYPE
------------
For most users, it is recommended to install HPLIP with full support (scanning, faxing, toolbox, etc).
For servers or minimal installations, you can also install print support only (using HPIJS).

Install full support (recommended) or print-only support (m=multifunction*, s=single func, q=quit) ?m


INTRODUCTION
------------
This installer will install HPLIP version 2.8.5 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


VIEW RELEASE NOTES
------------------
Release notes from this version are available as a web (HTML) document.
The release notes file will be shown in a separate web browser window.

Would you like to view the release notes for this version of HPLIP (y=yes, n=no*, q=quit) ? y
Displaying release notes in a browser window...


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be CentOS 5.

Is "CentOS 5" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y


SELECT HPLIP OPTIONS
--------------------
You can select which HPLIP options to enable. Some options require extra dependencies.

Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'Graphical User Interfaces (GUIs)' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'Parallel I/O (LPT)' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ? y


RUNNING PRE-INSTALL COMMANDS
----------------------------


INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
warning: There are 9 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency for option 'network': libcrypto (libcrypto - OpenSSL cryptographic library)
warning: This installer cannot install 'libcrypto' for your distro/OS and/or version.
warning: Option 'network' has been turned off.
warning: Missing REQUIRED dependency for option 'network': libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: This installer cannot install 'libnetsnmp-devel' for your distro/OS and/or version.
warning: Option 'network' has been turned off.
warning: Missing REQUIRED dependency for option 'fax': python-ctypes (python-ctypes - A foreign function library for Python)
warning: This installer cannot install 'python-ctypes' for your distro/OS and/or version.
warning: Option 'fax' has been turned off.
warning: Missing REQUIRED dependency for option 'fax': python-dbus (python-dbus - Python bindings for dbus)
warning: This installer cannot install 'python-dbus' for your distro/OS and/or version.
warning: Option 'fax' has been turned off.
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python)
warning: This installer cannot install 'reportlab' for your distro/OS and/or version.
warning: Missing REQUIRED dependency for option 'fax': dbus (dbus - Message bus system)
warning: This installer cannot install 'dbus' for your distro/OS and/or version.
warning: Option 'fax' has been turned off.
warning: Missing REQUIRED dependency for option 'scan': sane-devel (SANE - Scanning library development files)
warning: This installer cannot install 'sane-devel' for your distro/OS and/or version.
warning: Option 'scan' has been turned off.
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))
warning: This installer cannot install 'pil' for your distro/OS and/or version.
warning: Missing REQUIRED dependency for option 'parallel': ppdev (ppdev - Parallel port support kernel module.)
warning: This installer cannot install 'ppdev' for your distro/OS and/or version.
warning: Option 'parallel' has been turned off.
warning: Missing OPTIONAL dependency for option 'base': cups-ddk (cups-ddk - CUPS driver development kit)
warning: This installer cannot install 'cups-ddk' for your distro/OS and/or version.


READY TO BUILD AND INSTALL
--------------------------
Ready to perform build and install. Press to continue or 'q' to quit:


PRE-BUILD COMMANDS
------------------


BUILD AND INSTALL
-----------------
Running './configure --disable-network-build --disable-pp-build --disable-fax-build --disable-dbus-build --enable-gui-build --disable-scan-build --enable-doc-build --enable-foomatic-ppd-install --disable-foomatic-drv-install --disable-hpijs-only-build --prefix=/usr'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make install'
Please wait, this may take several minutes...
Command completed successfully.


Build complete.


POST-BUILD COMMANDS
-------------------


RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in when you started this installer, you will need to either restart your PC or
unplug and re-plug in your printer (USB cable only). If you choose to restart, run this command after restarting: hp-setup (Note: If you are using a parallel
connection, you will have to restart your PC. If you are using network/wireless, you can ignore and continue).

Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) :
Please unplug and re-plugin your printer now. Press to continue or 'q' to quit:


PRINTER SETUP
-------------
Would you like to setup a printer now (y=yes*, n=no, q=quit) ? y
Please make sure your printer is connected and powered on at this time.


---
printer printed a test page ok.
checked with openoffice too. ok

feddds.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: (solved) Re: hp d1460 requires hplip 2.7.7

Post by AlanBartlett » 2008/06/23 20:00:00

Thank you for telling us how you resolved this issue. It may well help someone else in the future.

There is just one small point I would like to flag.

[quote]error: You are running the installer as root. It is highly recommended that you run the installer as
error: a regular (non-root) user. Do you still wish to continue?
Continue with installation (y=yes, n=no*, q=quit) ? y[/quote]
You really should have quit the installation at this point, logged in as an ordinary user and restarted the install.
It is recommended that all tasks should be performed as a normal user until it is necessary to become [i]root[/i] for one or more particular steps . . .

NedSlider
Forum Moderator
Posts: 2897
Joined: 2005/10/28 13:11:50
Location: UK

hp d1460 requires hplip 2.7.7

Post by NedSlider » 2008/06/28 12:40:03

Johnny Hughes has just built a testing version of hplip 2.8.6 available here:

http://people.centos.org/hughesjr/hplip/5/

If anyone would like to test and report back, that would be great :-)

EDIT: in order to get it to build, the dependency on SELinux was removed so it may not work on machines with SELinux enabled.

feddds
Posts: 32
Joined: 2007/08/03 21:38:26

Re: (solved) Re: hp d1460 requires hplip 2.7.7

Post by feddds » 2008/07/04 15:06:37

Thanks AlanJBartlett.
I will add a new user then.

Feddds.

feddds
Posts: 32
Joined: 2007/08/03 21:38:26

Re: (solved) Re: hp d1460 requires hplip 2.7.7

Post by feddds » 2008/07/08 21:20:34

Hello, NedSlider

I just got access to hplip but do I have to download everything?
[ ] cupsddk-1.2.3-5.el5.centos.i386.rpm 28-Jun-2008 09:37 1.2M
[ ] cupsddk-devel-1.2.3-5.el5.centos.i386.rpm 28-Jun-2008 09:37 7.7K
[ ] cupsddk-drivers-1.2.3-5.el5.centos.i386.rpm 28-Jun-2008 09:37 115K
[ ] hpijs-2.8.6-1.el5.centos.i386.rpm 28-Jun-2008 09:37 1.6M
[ ] hplip-2.8.6-1.el5.centos.i386.rpm 28-Jun-2008 09:37 6.7M
[ ] hplip-gui-2.8.6-1.el5.centos.i386.rpm 28-Jun-2008 09:37 1.3M
[ ] libsane-hpaio-2.8.6-1.el5.centos.i386.rpm 28-Jun-2008 09:37 86K

Or just Hplip 2.8.6?

When I do that, It gives an error that is huge...starts like this:
Component: pirut
Summary: TB3242b26e repos.py:278:getAttribute:RuntimeError: maximum recursion depth exceeded

Traceback (most recent call last):
File "/usr/sbin/system-install-packages", line 361, in ?
main()
File "/usr/sbin/system-install-packages", line 357, in main
pkginst.run()
File "/usr/sbin/system-install-packages", line 344, in run
self.doRefresh()
File "/usr/sbin/system-install-packages", line 101, in doRefresh
self.populatePackages()
File "/usr/sbin/system-install-packages", line 281, in populatePackages
self.doRefreshRepos(progress = False)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 344, in doRefreshRepos
self.reposSetup(pbar, thisrepo)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 308, in reposSetup
self.doTsSetup()
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 72, in doTsSetup
return self._getTs()
...
...
...
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 220, in populateSack
myrepos = self.listEnabled()
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 153, in listEnabled
if repo.isEnabled():
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 281, in isEnabled
enabled = self.getAttribute('enabled')
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 278, in getAttribute
return getattr(self, key, None)
RuntimeError: maximum recursion depth exceeded

Local variables in innermost frame:
self: extras
key: enabled

Keep in touch.
Feddds.

NedSlider
Forum Moderator
Posts: 2897
Joined: 2005/10/28 13:11:50
Location: UK

Re: (solved) Re: hp d1460 requires hplip 2.7.7

Post by NedSlider » 2008/07/08 21:45:40

Hi Feddds,

Apologies for not getting back sooner, but I was away for a few days.

My guess is you need all those packages - dependencies I guess.

I'll see if I can ping Johnny for you to take a look.

feddds
Posts: 32
Joined: 2007/08/03 21:38:26

Re: (solved) Re: hp d1460 requires hplip 2.7.7

Post by feddds » 2008/07/10 01:53:40

Ok. I will try tomorrow and report how it goes then.

F.

feddds
Posts: 32
Joined: 2007/08/03 21:38:26

Re: (solved) Re: hp d1460 requires hplip 2.7.7

Post by feddds » 2008/07/10 21:18:09

NedSlider, Hello.

I have them. Now what am I supposed to do with them?

See you.

F.


[feddds@localhost HPLIP]$ ls -l
total 11304
-rw-rw-r-- 1 feddds feddds 1206879 jul 10 18:11 cupsddk-1.2.3-5.el5.centos.i386.rpm
-rw-rw-r-- 1 feddds feddds 7854 jul 10 18:11 cupsddk-devel-1.2.3-5.el5.centos.i386.rpm
-rw-rw-r-- 1 feddds feddds 118079 jul 10 18:12 cupsddk-drivers-1.2.3-5.el5.centos.i386.rpm
-rw-rw-r-- 1 feddds feddds 1664251 jul 10 18:12 hpijs-2.8.6-1.el5.centos.i386.rpm
-rw-rw-r-- 1 feddds feddds 7059469 jul 10 18:12 hplip-2.8.6-1.el5.centos.i386.rpm
-rw-rw-r-- 1 feddds feddds 1386225 jul 10 18:12 hplip-gui-2.8.6-1.el5.centos.i386.rpm
-rw-rw-r-- 1 feddds feddds 87890 jul 10 18:12 libsane-hpaio-2.8.6-1.el5.centos.i386.rpm
[feddds@localhost HPLIP]$

Post Reply