VectorLinux
November 27, 2014, 02:33:07 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1] 2
  Print  
Author Topic: hp-setup  (Read 19766 times)
phantomgannon
Member
*
Posts: 9


« on: December 22, 2007, 09:38:24 am »

Just installed 5.9 Gold and I get the following when I try "hp-setup"

root:# 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
Unable to connect to HPLIP I/O (hpssd).
error: Unable to connect to HPLIP I/O. Please (re)start HPLIP and try again.

this was the same on all the release candidates as well. the package hplip is installed (and reinstalled).

Logged
JohnB316
Administrator
Vectorian
*****
Posts: 1346


Registered Linux User #386728


« Reply #1 on: December 23, 2007, 06:22:49 pm »

What type of HP device are you trying to set up? Is it connected to a parallel port or a USB port? If it's connected to a parallel port, is the "parallel" service activated for your computer? Also, is CUPS (aka Common Unix Printing System) selected to be one of the services that loads at boot time? CUPS and HPLIP work together, in that HPLIP provides the driver for your device to CUPS, which in turn does the dirty work of communicating with your printer.

A quick and easy way to see whether the CUPS service is loaded is to open a terminal and type "htop" (without the quotes) at the prompt. Htop lists the processes that are running. If you see /usr/sbin/cupsd, then the CUPS service is running. If the CUPS service is not running, then you'll need to activate it. To do this, click on the Start button and select vasm -> SUPER (type the root account password when prompted) -> SERVICE -> SRVSET -> 2, 3, 4, 5. Ensure that CUPS is selected. If it isn't, then click on the check box next to the word "CUPS" to select it for each run level you might use.

If you need to activate a parallel port, use vasm -> SUPER (type the root account password when prompted) -> SERVICE -> HWSET -> parallel.

HTH some. Post again if you need more help.

Thanks,
John
Logged

VL 6.0 SOHO latest alpha on one box, VL 5.9 Lite on the other.
phantomgannon
Member
*
Posts: 9


« Reply #2 on: December 24, 2007, 07:13:06 am »

I did a reinstall with the default options. I can confirm that cups is runnning. My printer is a HP 8200 photosmart. the output for "hpsetup" is

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.

thanks


Logged
nightflier
Administrator
Vectorian
*****
Posts: 4030



« Reply #3 on: December 24, 2007, 08:41:18 am »

It's been a while since I used a local printer with hplip, but I do remember having to use hp-makeuri to first create the connection to the printer.
Logged
JohnB316
Administrator
Vectorian
*****
Posts: 1346


Registered Linux User #386728


« Reply #4 on: December 24, 2007, 10:06:43 am »

To add to nightflier's reply, I believe that hp-makeuri and hp-setup need to be run as root to enable the devices to be created.

HTH,
John
Logged

VL 6.0 SOHO latest alpha on one box, VL 5.9 Lite on the other.
phantomgannon
Member
*
Posts: 9


« Reply #5 on: December 24, 2007, 12:49:37 pm »

tried that..

Notes:
1. Example using 'lsusb' to obtain USB bus ID and USB device ID (example only, the values you obtain will differ) :
        $ lsusb
        Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard
        $ hp-makeuri 003:011
        (Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)

See Also:
hp-setup

vector://home/bub
root:# 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.
vector://home/bub
root:# lsusb
Bus 3 Device 1: ID 0000:0000 
Bus 2 Device 3: ID 058f:9360 Alcor Micro Corp.
Bus 2 Device 2: ID 045e:009d Microsoft Corp.
Bus 2 Device 1: ID 0000:0000 
Bus 1 Device 3: ID 03f0:c202 Hewlett-Packard
Bus 1 Device 2: ID 04a9:221c Canon, Inc.
Bus 1 Device 1: ID 0000:0000 
vector://home/bub
root:# hp-makeuri 001:003

HP Linux Imaging and Printing System (ver. 1.7.4a)
Device URI Creation Utility ver. 4.3

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.

error: Unable to connect to hpiod.
vector://home/bub
root:# 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.
vector://home/bub
root:# hp-makeuri -c 001:003
error: Unable to connect to hpiod.
vector://home/bub
root:# hp-makeuri 001:003

HP Linux Imaging and Printing System (ver. 1.7.4a)
Device URI Creation Utility ver. 4.3

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.

error: Unable to connect to hpiod.

This is the first time I've had this problem with hp-setup.

regards


Logged
phantomgannon
Member
*
Posts: 9


« Reply #6 on: January 02, 2008, 09:22:18 am »

Can anyone help with this? Not being able to use my printer is a bit of a showstopper. It was working on 5.8. Can anyone verify that "hp-setup" works for them?
Logged
phantomgannon
Member
*
Posts: 9


« Reply #7 on: January 06, 2008, 08:44:52 am »

I've just downloaded and tried the 5.9 live disc and it's got the same problem. The problem is specific to vector 5.9. Iw ould like to use 5.9 but can't because I can't print any help would be welcome.
Logged
rhauff
Vectorite
***
Posts: 105


« Reply #8 on: January 08, 2008, 09:58:45 am »

I think you will need HPLIP version 2.7.9 at least to support the Photosmart 8200.

I will be setting up a Photosmart C6280 on VL 5.8 soon.
Logged
Freston
Vectorite
***
Posts: 165


« Reply #9 on: January 11, 2008, 09:54:03 am »

Huh


I don't know if my addition to this thread is prudent, but I never had to run any of the commands you mention. And I've gotten my HP all-in-one to work on any distro without fail.

Have you looked at localhost:631 yet??
That should bring you to a menu for setting up your printer. It's automagical.
Logged
phantomgannon
Member
*
Posts: 9


« Reply #10 on: January 11, 2008, 10:34:03 am »

I tried to Cups interface & the printer is not there. Could someone please type "hp-setup" as root on ANY version of 5.9 and tell me what happens. I've used Mint, Fedora, Mandriva & Pclinuxos in the last two months with this printer with no problems.
Logged
lagagnon
Global Moderator
Vectorian
*****
Posts: 1922



WWW
« Reply #11 on: January 11, 2008, 11:33:09 am »

I tried to Cups interface & the printer is not there.
Yes it is - at least on my machine running the same system as you - VL5.9, I see HP PhotoSmart 8200 in the drop down list for HP printers.
Try again:
1) in your browser address bar go to http://localhost:631
2) you should see the CUPS page
3) make sure your printer is properly connected and turned on
3) click "Add Printer"
4) type in any appropirate Name, Location, Description (can be anything you desire)
5) Continue and choose the Device (usually if it is a USB printer you will see the printer under the first USB port)
6) Continue, choose Make "HP" , Continue
7) choose model from list, then "Add Printer"

....,

Logged

"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll
The Headacher
Louder than you
Global Moderator
Vectorian
*****
Posts: 1553


I like the bass to go BOOM!


WWW
« Reply #12 on: January 11, 2008, 01:34:39 pm »

Quote
I tried to Cups interface & the printer is not there. Could someone please type "hp-setup" as root on ANY version of 5.9 and tell me what happens. I've used Mint, Fedora, Mandriva & Pclinuxos in the last two months with this printer with no problems.
I get the same error as you. So I started hpiod as root in a terminal, tried again and got another error:
Quote
Unable to connect to HPLIP I/O (hpssd).
error: Unable to connect to HPLIP I/O. Please (re)start HPLIP and try again.
There doesn't seem to be a hpssd binary on vl 5.9 though. If I recall correctly, in 5.8 it was possible to start both these daemons through VASM.
Logged

Most music on my soundcloud page was arranged in programs running on VL.
Freston
Vectorite
***
Posts: 165


« Reply #13 on: January 11, 2008, 06:38:51 pm »

Well, I had issues with HPLIP in 5.8 as well. And to be frank, my 5.9 machine doesn't recognize my printer either.

It's not difficult to solve though.  In 5.8 it was a matter of seconds. Click_here, Click_there, Done.






But if one where not to know where to click.... it would be another matter. What lagagnon posted is how I remember it. In 5.8 I needed an extra step or three, four. But my 5.9 machine also needs to be able to print. So I'll post back my findings. It'll not be difficult. I just don'tknow it by heart.
Logged
Freston
Vectorite
***
Posts: 165


« Reply #14 on: January 12, 2008, 10:45:29 am »

Quote from: I
And to be frank, my 5.9 machine doesn't recognize my printer either.
*Shame* Human error.

I guess we have a little false negative on our hands here. I effortlessly configured my HP Photosmart C4180 through the browser interface on my 5.9 machine, yet when I did the hp-setup command it gave:
Code:
root:# 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.

Trivia:
Even though this erroneous output, my printer works.
I saw the HP Photosmart 8200 listed in the list of supported printers
I can confirm that I have never, not once, needed to run hp-setup before.


_______

I'm not sure why this isn't working for you. I assume you have tried /Administration/Find_printer and /Administration/Manage_printers?

Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!