PDA

View Full Version : Step by step installation of HP printer...



Omnicloud
20th February 2008, 02:54 AM
Ok...so here's a screenshot. I have HPlip installed, when I got to system-administration-printing, nothing is recognized.

Firstly, before I can even configure anything, I have to get it recognized right? Why does it show in my Computer folder but not in the printer config?

clay247
20th February 2008, 03:50 AM
You installed all of these that apply?

$>yum search hplip
hpijs.x86_64 : HP Printer Drivers
hplip.x86_64 : HP Linux Imaging and Printing Project
hpijs.x86_64 : HP Printer Drivers
hplip.x86_64 : HP Linux Imaging and Printing Project
hpijs.i386 : HP Printer Drivers
hplip-gui.x86_64 : HPLIP graphical tools
hpijs.i386 : HP Printer Drivers
hplip.x86_64 : HP Linux Imaging and Printing Project
hpijs.i386 : HP Printer Drivers
hplip-gui.x86_64 : HPLIP graphical tools
libsane-hpaio.x86_64 : SANE driver for scanners in HP's multi-function devices
libsane-hpaio.x86_64 : SANE driver for scanners in HP's multi-function devices
hpijs.x86_64 : HP Printer Drivers

I recently got my photosmart_7600 working no problem, installing these packages.

What does this output? (if you have that command)

$>hp-info

Omnicloud
20th February 2008, 04:27 AM
Seems there's an error, the only thing that I did was yum install Hplip btw--where and how do I install everything else you've listed? Through the terminal?

clay247
20th February 2008, 04:34 AM
Yeah I mean the terminal when I say $>

you would do this as root ( I use sudo ) to install the packages ( i left out the ones i didn't use )

$>yum install hpijs hplip-gui hplip

Omnicloud
20th February 2008, 05:05 AM
[root@localhost OmniCloud]# yum install hpijs hplip-gui hplip
Loading "kernel-module" plugin
Loading "protectbase" plugin
livna 100% |=========================| 2.1 kB 00:00
kirov 100% |=========================| 1.9 kB 00:00
fedora 100% |=========================| 2.1 kB 00:00
adobe-linux-i386 100% |=========================| 951 B 00:00
updates 100% |=========================| 2.3 kB 00:00
primary.sqlite.bz2 100% |=========================| 2.3 MB 00:26
1 packages excluded due to repository protections
Setting up Install Process
Parsing package install arguments
Package hpijs - 1:1.7.4a-6.fc7.i386 is already installed.
Package hplip - 1.7.4a-6.fc7.i386 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package hplip-gui.i386 0:1.7.4a-6.fc7 set to be updated
--> Processing Dependency: PyQt for package: hplip-gui
--> Running transaction check
---> Package PyQt.i386 0:3.17.4-1.fc7 set to be updated
--> Processing Dependency: sip >= 4.7.3 for package: PyQt
--> Running transaction check
---> Package sip.i386 0:4.7.3-1.fc7 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
hplip-gui i386 1.7.4a-6.fc7 updates 1.2 M
Installing for dependencies:
PyQt i386 3.17.4-1.fc7 updates 1.9 M
sip i386 4.7.3-1.fc7 updates 241 k

Transaction Summary
================================================== ===========================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 3.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): PyQt-3.17.4-1.fc7. 100% |=========================| 1.9 MB 00:20
(2/3): hplip-gui-1.7.4a-6 100% |=========================| 1.2 MB 00:12
(3/3): sip-4.7.3-1.fc7.i3 100% |=========================| 241 kB 00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: sip ######################### [1/3]
Installing: PyQt ######################### [2/3]
Installing: hplip-gui ######################### [3/3]

Installed: hplip-gui.i386 0:1.7.4a-6.fc7
Dependency Installed: PyQt.i386 0:3.17.4-1.fc7 sip.i386 0:4.7.3-1.fc7
Complete!
[root@localhost OmniCloud]#
ok...what's next my friend?

clay247
20th February 2008, 05:10 AM
Try this as root:

$>hp-setup

Look here for more info: ( you should be at Step 11 )

http://hplip.sourceforge.net/install/install/index.html

Omnicloud
20th February 2008, 05:39 AM
[root@localhost OmniCloud]# hp-setup

HP Linux Imaging and Printing System (ver. 1.7.4a)
Printer/Fax Setup Utility ver. 4.5

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

Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
error: Unable to connect to hpiod.
error: Unable to connect to HPLIP I/O. Please (re)start HPLIP and try again.
[root@localhost OmniCloud]#
hmm...I'm still getting an error message? Missing a dependacy perhaps?

clay247
20th February 2008, 08:26 AM
"Please (re)start HPLIP and try again."

$>/etc/init.d/hplip restart

$>/etc/init.d/cups restart

This is in the hp-setup documentation, but it doesn't say "how" to restart the services/daemons.

$>/etc/init.d

all the scripts in this directory can start, stop, restart and do other things related to services/daemons

Omnicloud
20th February 2008, 04:38 PM
im at the setup screen and i selected USB and it keeps saying "no device found"

clay247
20th February 2008, 05:09 PM
Is the power on :)

These commands should produce some results similar to mine:

$>dmesg | grep -i usb
...
usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0xB202
...
$>/sbin/lsusb
...
Bus 001 Device 004: ID 03f0:b202 Hewlett-Packard
Bus 001 Device 001: ID 0000:0000
...

Omnicloud
20th February 2008, 05:28 PM
[OmniCloud@localhost ~]$ su
Password:
[root@localhost OmniCloud]# dmesg | grep -i usb
usb 5-3: new high speed USB device using ehci_hcd and address 5
usb 5-3: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5C11
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usb-storage: device scan complete
usb 5-3: USB disconnect, address 5
drivers/usb/class/usblp.c: usblp0: removed
usb 5-3: new high speed USB device using ehci_hcd and address 6
usb 5-3: configuration #1 chosen from 1 choice
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5C11
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 5-3: USB disconnect, address 6
drivers/usb/class/usblp.c: usblp0: removed
usb 5-3: new high speed USB device using ehci_hcd and address 7
usb 5-3: configuration #1 chosen from 1 choice
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5C11
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 5-3: USB disconnect, address 7
drivers/usb/class/usblp.c: usblp0: removed
usb 1-2: USB disconnect, address 5
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
input: Dell Dell USB Mouse as /class/input/input6
input: USB HID v1.10 Mouse [Dell Dell USB Mouse] on usb-0000:00:1d.1-1
usb 5-2: new high speed USB device using ehci_hcd and address 9
usb 5-2: configuration #1 chosen from 1 choice
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 9 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5C11
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 5-2: USB disconnect, address 9
drivers/usb/class/usblp.c: usblp0: removed
usb 1-1: USB disconnect, address 4
usb 2-2: new low speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
input: Dell Dell USB Keyboard as /class/input/input7
input: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-0000:00:1d.1-2
usb 5-1: new high speed USB device using ehci_hcd and address 11
usb 5-1: configuration #1 chosen from 1 choice
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 11 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5C11
scsi11 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 11
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 5-1: USB disconnect, address 11
drivers/usb/class/usblp.c: usblp0: removed
usb 5-1: new high speed USB device using ehci_hcd and address 12
usb 5-1: configuration #1 chosen from 1 choice
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 12 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5C11
scsi12 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 12
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 5-1: USB disconnect, address 12
drivers/usb/class/usblp.c: usblp0: removed
usb 5-2: new high speed USB device using ehci_hcd and address 13
usb 5-2: configuration #1 chosen from 1 choice
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 13 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5C11
scsi13 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 13
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 5-2: USB disconnect, address 13
drivers/usb/class/usblp.c: usblp0: removed
usb 5-1: new high speed USB device using ehci_hcd and address 14
usb 5-1: configuration #1 chosen from 1 choice
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 14 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5C11
scsi14 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 14
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
[root@localhost OmniCloud]# /sbin/lsusb
Bus 005 Device 014: ID 03f0:5c11 Hewlett-Packard
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 413c:2003 Dell Computer Corp.
Bus 002 Device 002: ID 413c:3200 Dell Computer Corp.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

Ok here are the results...I believe I got the same results that you posted...That's a good thing I would assume, so why isn't the Printer being recognized after running the hp-setup command?

clay247
20th February 2008, 06:16 PM
I'm not sure what is causing the problem here? I hate to ask this, but have you tried rebooting? Your output shows that usblp0 was loaded/reloaded many times. I didn't see the output from the

$>hp-info

command. I'm assuming it doesn't show errors/warnings.

Omnicloud
20th February 2008, 06:17 PM
I'm not sure what is causing the problem here? I hate to ask this, but have you tried rebooting? Your output shows that usblp0 was loaded/reloaded many times. I didn't see the output from the

$>hp-info

command. I'm assuming it doesn't show errors/warnings.Actually no, there was a document we needed printed and didn't reboot because of it...

Omnicloud
20th February 2008, 06:30 PM
tks for the help, I'm at work but my wife is home trying to get it up and running, I'll post the results

EDIT: My wife just confirmed that she was able to print something out, I'll have to wait till this afternoon to see if everything works fine with a reboot tho and if the setup detects the printer now.

Tks in advance for your help;) I thought this would be a nightmare :(

Omnicloud
2nd March 2008, 03:41 PM
Ok...my printer works, sometimes and doesn't others lol...

Here, when I first boot up my PC, my printer isn't detected anywhere...but when I restart the hplip and cups, I can see my printer detected in system-administration-printers...

However, when I run "hp-setup" from the terminal, it says no device found on the USB drive?? Is there more configuration I have to do for my printer to just work when I boot up my computer?

scotty38
23rd July 2008, 01:14 PM
Ignoring the fact that you dragged up an old thread in order to post this.....

Very funny.....

JN4OldSchool
23rd July 2008, 01:24 PM
Ignoring the fact that you dragged up an old thread in order to post this.....

Very funny.....

Looks like we have a new guru in the forum. :)

scotty38
23rd July 2008, 01:30 PM
Looks like we have a new guru in the forum. :)

Quite, he could have at least given a bit more thought to his spamming....

JN4OldSchool
23rd July 2008, 01:34 PM
Quite, he could have at least given a bit more thought to his spamming....

mmm, didnt catch it. But then again, I am not in the habit of clicking links...

bob
23rd July 2008, 01:35 PM
Yes, thanks for noticing the link. Our 'friend' seems to have taken the trouble to register as at least one or two new 'members' in order to add that crud to our Forum. Nice that 'he' took the trouble to post and for his trouble, we've removed it and him. Be on the lookout, he's probably not done yet!

scotty38
23rd July 2008, 01:35 PM
mmm, didnt catch it. But then again, I am not in the habit of clicking links...

Me neither, I just hover :D

leigh123linux
23rd July 2008, 01:35 PM
Looks like we have a new guru in the forum. :)



Not anymore :D

Who needs another Windoze guru :rolleyes: