LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-18-2006, 04:53 PM   #1
eqisow
Member
 
Registered: Jun 2005
Distribution: Kubuntu 5.10
Posts: 51

Rep: Reputation: 15
HP Toolbox fails to recognize new printer


I have just installed a new HP Deskjet 5740 on Kubuntu 5.10 (KDE 3.5) and it works great. However, when I try to run the HP Toolbox provided by the hplip package I get the following error:

Code:
No installed HP devices found. 
After setting up a printer, you must press F6 or choose 
Device --> Refresh All for the printer to appear in the 
HP Device Manager

Note: Only devices installed with the hp: CUPS backend 
will appear in the HP Device Manager.
The CUPS web interface shows my printer installed, though configuration from the web interface is disabled. Pressing F6 does nothing, and I can see the Device menu in the program, but whenever you click on in the error dialogue the program closes. You, of course, can't click the menu without closing the dialogue.

I have tried rebooting the system as well as turning the pritner off and back on. Does anyone else have an idea as to how I might make it recognize my printer?
 
Old 01-18-2006, 07:29 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
When you configure CUPS, you must enter the hp: URI instead of "socket://" or other types of URIs. To get the URI, you run
Code:
hp-makeuri <ip address>
and it should look something of this format:
Quote:
hp:/net/Deskjet_5700?ip=192.168.1.10

Last edited by spooon; 01-18-2006 at 07:45 PM.
 
Old 01-18-2006, 09:04 PM   #3
eqisow
Member
 
Registered: Jun 2005
Distribution: Kubuntu 5.10
Posts: 51

Original Poster
Rep: Reputation: 15
Do you mean the IP of my computer on the local network? If so, then 'hp-makeuri 192.168.1.140' returns the following error:

[ERROR]: Failed (error code=12). Please check address of device and try again.
 
Old 01-18-2006, 09:15 PM   #4
eqisow
Member
 
Registered: Jun 2005
Distribution: Kubuntu 5.10
Posts: 51

Original Poster
Rep: Reputation: 15
Nevermind, I see. You were thinking it was a network printer. 'hp-makeuri /dev/usb/lp0' created the following output:

CUPS URI: hp:/usb/Deskjet_5700?device=/dev/usb/lp0
SANE URI: hpaio:/usb/Deskjet_5700?device=/dev/usb/lp0

The HP Toolbox still shows the same error and the URI listed under the KDE printer manager is still ipp://justin:631/printers/HPPrinter. I tried to find a place to change this under properties, but was unsuccessful.

What I did notice is that under 'Interface' it shows the USB location as 'usb://574X?serial=TH65U120C5049T'. It seems to me, however, that this is just due to the fact that the printer is configured and so now the system recognizes the device and asigns it a name based on that.

Edit: I tried removing and reinstalling the printer just for kicks. The URI shown under the KDE config is still the same as above.

Last edited by eqisow; 01-18-2006 at 09:19 PM.
 
Old 01-18-2006, 09:26 PM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
You can enter the URI in the CUPS web interface (http://localhost:631/, enter root password).
 
Old 01-18-2006, 09:27 PM   #6
eqisow
Member
 
Registered: Jun 2005
Distribution: Kubuntu 5.10
Posts: 51

Original Poster
Rep: Reputation: 15
so the printer page on the CUPS web interface says the URI is 'usb://574X?serial=TH65U120C5049T' and not the 'ipp://justin:631/printers/HPPrinter' that the KDE printer information page shows. Odd, but whatever.

I assume the URI under the CUPS web interface is what I need to change? There is a button that says Modify Printer, but the web nterface is disabled. It says at the top, "Administrative tasks have been disabled for security reasons. Please use Menu System > Administration > Printing."
 
Old 01-18-2006, 09:31 PM   #7
eqisow
Member
 
Registered: Jun 2005
Distribution: Kubuntu 5.10
Posts: 51

Original Poster
Rep: Reputation: 15
Just saw your post, web admin has been disabled, as mentioned above.
 
Old 01-18-2006, 09:44 PM   #8
eqisow
Member
 
Registered: Jun 2005
Distribution: Kubuntu 5.10
Posts: 51

Original Poster
Rep: Reputation: 15
I tried to enable the cups web interface using the guide here, but had no luck. The text about the interface being disabled still shows and the root password still doesn't work. I also set root as a cups admin via these instructions.
 
Old 01-18-2006, 09:49 PM   #9
eqisow
Member
 
Registered: Jun 2005
Distribution: Kubuntu 5.10
Posts: 51

Original Poster
Rep: Reputation: 15
Under the 'Users and Groups' settings I noticed the user cupsys was disabled. I enabled it as well as adding to the shadow group as the previous instructions indicated. The disabled message is still there and I still can not login to the web interface via root.

Edit: I am restartings cupsys after each of these changes via 'sudo /etc/init.d/cupsys restart'.

Last edited by eqisow; 01-18-2006 at 09:51 PM.
 
Old 01-18-2006, 10:04 PM   #10
eqisow
Member
 
Registered: Jun 2005
Distribution: Kubuntu 5.10
Posts: 51

Original Poster
Rep: Reputation: 15
Problem solved. I was making things way more harder than they needed to be, no surprise there. I simply opened '/etc/cups/printers.conf' and changed the printer URI there to the new one. Problem solved, everything works. I feel stupid.

Oh well, hopefuly this thread can help somebody in the future.

Also, the helping hand is much appreciated spooon.

Last edited by eqisow; 01-18-2006 at 10:07 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake 10.1 fails to recognize Intellimouse ajm8372 Linux - Hardware 3 03-02-2005 03:45 PM
MDK 10.1 install fails to recognize 3rd CD wonderboy1999 Mandriva 8 01-06-2005 06:04 AM
/dev/cdrom1 not a valid block device.. K3b also fails to recognize ??? UsualTuxpect Linux - Software 10 09-27-2004 10:32 AM
red hat 8 installation CD fails to recognize new 52X LG CD R/RW GCE-8523B linsam Linux - Hardware 2 08-13-2003 05:15 PM
how do i make redhat recognize my printer new printer driver Kilahchris Linux - General 2 03-04-2003 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration