11.3 hplip Printer queue setup failed.

hello,
I just installed opensuse 11.3 and was configuring the printer (via http) as usually using the HP Device Manager. But this time I got these error message:
Printer queue setup failed. Please restart CUPS and try again

These lines were generated in the error-log of cups:
E [31/Jul/2010:23:30:35 +0200] [cups-driverd] Bad driver information file “/usr/share/cups/drv/sample.drv”!
E [31/Jul/2010:23:30:35 +0200] [cups-driverd] Skipping “/usr/share/ppd”: loop detected!
E [31/Jul/2010:23:30:37 +0200] Returning HTTP Forbidden for CUPS-Add-Modify-Printer (ipp://localhost/printers/Photosmart_C5100) from localhost

I am able to add the printer via YaST or the web-frontend but it is not recognized by the HP Device Manager.
I have also tried a solution I have found here: HP C309g Wireless Linux Printing & HPLIP - Mine the Harvest

Might there be an issue with cups or hplip?
Hope somebody can help me here!
Marcel

I use the hplib program and it does work, but it seems to need to have root permissions to get it to work properly. I would run the setup program hplip program using the KDE menu Run Command:

kdesu /use/bin/hp-setup

See if this might allow you to get the setup done properly.

Thank You,

Thank You for your reply!
I just reinstalled cups and hplip and voila, dont know why, but it works.

Marcel

Happy to help marcel_schwarz and it is good to hear you got it all working.

Thank You,

Hi,
I have tried to install hplip for my wireless printer HP F4580.
Problem i encounter was that hplip could not install dependencies,
program said it cannot install packages for opensuse 11.3 version.
I had tired to install all one by one dependencies manually, i took some time …
Only libusb is not fully fulfilled as i understand, need higher version i think.

Still I can’t get it to print by wireless.
I get connection error.

Is there some firewall setting i have to adjust to be able to print
through wireless connection?

Cheers
Adenozinas

I have not used the wireless mode, but as I understand it, it must be wireless back to your router and be given an IP address just like any other node. If it gets an IP and you know it, you could do a manual configure in openSUSE hp-setup and enter the IP. One must assume your router is working with the printer when using Windows and so wireless connectivity is not an issue between the router and the printer. Now, if the printer were Bluetooth, I am not sure how that would work directly to your PC using hplip.

Thank You,

Thanks for advice,

printer is working fine in windows through wireless (router).
The thing is that before switching to OSS 11.3, printer has been working
with hplip driver just like that (OSS11.2). I did not need to enter ip of
printer , just went through standard hp printer detection/configuration
dialog.

have you any idea how to check printers ip?

Cheers

Most HP Printers can be told to print out a setup which includes its network setup. I just did this on my C5180 and it told me its IP was 192.168.0.100. I can then do an Advance / manual IP configuration in hp-setup and enter this IP address. Since I have upgraded to openSUSE 11.3, hplib can not scan and find any printers, even as I have two. But if I put in the IP manually, it works like a champ. I assume the problem has to do with the firewall and you might turn it off to see if the printers show up. However, I leave the firewall on all of the time and the only issue seems to be automatic discovery of hp printers, not using them after they are set up.

Thank You,

Hi, thanks.
I got it working with your advice.

  1. deleted previous setup.
  2. started new hp setup (through Yast–> printer)
  3. Chose direct connection via network/wireless (last time I chose wireless)
  4. pressed on the printer to get ip, entered it in manual setup of printer.
  5. and it works then.

Although i would be more happy if it would work with out manual setup
I’m glad i got it working.

Are the default firewall settings in 11.3 resposible for that?
Maybe someone should file a bug report (if there is not any existing jet).
If found remarks on the default firewall settings related to windows shared folders (or shared file access) in
Andrea Müller: “Neues aus Nürnberg : OpenSuse 11.3 mit Lxde-Desktop” in my c’t 17/2010 page 64-65 (2010/08/02 from Heise Verlag):

Licht und Schatten
…]
Einen Schnitzer haben sich die Entwickler bei den Default-Einstellungen der Firewall geleistet. Sie sperren nicht nur Eindringlinge aus, sondern verhindern zuverlässig den Zugriff auf Windows-Freigaben über die Netzwerk-Ordner der Datei-Manager. Glück haben hier KDE-Anwender …]

Fazit
…]
Besonders für Umsteiger von Windows sind die Firewall-Einstellungen, die das Browsen durch Freigaben im lokalen Netz verhindern, unglücklich, da die Fehlermeldung keine Hinweise zur Lösung des Problems gibt. (amu)"
A version of an article alike this but without these remarks was online before
Andrea Müller: “Die Neuerungen von OpenSuse 11.3” (2010/07/15)
Die Neuerungen von OpenSuse 11.3 | heise open
and the translation is on:
Andrea Mueller: “What’s new in openSUSE 11.3” (2010/07/20)
What’s new in openSUSE 11.3 - The H Open Source: News and Features
but also without this critical remarks (or I did not find it?).

But when I was setting up my HP Officejet Pro 7590 in openSUSE 11.2 via Lan and WLan I needed its IP-address, too.

Should the remark on the wiki article:
SDB:How to set-up a HP printer - openSUSE
under the headline
“Printer connected via network (LAN or WLAN)”
be more explaining?
Or did you not find the article in the new SDB-Namespace in the wiki.opensuse.org ?

Have a lot of fun!
pistazienfresser

Hello pistazienfresser,

Are the default firewall settings in 11.3 resposible for that?

I did not change firewall settings. But I have a gut feeling it’s not far from truth.

Should the remark on the wiki article:
SDB:How to set-up a HP printer - openSUSE

Sorry, I have missed this wiki article. After change of wiki, I’m slightly puzled in it. I know it’s for good eveltually, but I’m lost
there at the moment.

“Printer connected via network (LAN or WLAN)”
be more explaining?

Printer is connected via WLAN.
it is the actual option in hplip dialog:
Connetion I/O type
I selected - Network/ethernet/wireless network

I wonder if all this “mess” is because laptop is connected to network via Yast
ifup. This is essential difference in network setup from my OSS11.2.
Reson? My KDE-policykit1 program crashes and leaves kNetwormanager unfunctional.
I reported bug with descent infor amount, but nobody seems to be interested in it.

I take this as a “Yes”. :wink:
As I recall it I had to choose a special field below that option
to enter the IP-address manually.

(Maybe you could improve the hplip article a bit, too?)

Regards
pistazienfresser

P. S.: See/compare:
HP WLAN capable inkjet printers under Linux ?

Hi,

i was fighting with network problems for some time, now
got it solved and have internet on OSS11.3.
I’ll tray to get things together and maybe improve hplip article.

Quick help for those on OSS11.3 trying to run automatic hplip isntall
and having problems with dependecies.
after you choose automatic install hplip detects OSS11.3
and asks if it’s correct. Choose no, and in following dialogs
choose OSS11.2. Things will go flawless. All dependencies
installed automatically.
Automatic install for OSS11.3 should be available in next hplip version.

Cheers!

You shouldn’t need to install hplip - it comes standard on opensuse. (… If you do need to install it, use the opensuse repo)

Connecting any networked hp jetdirect printer in linux is easy with hplip.
Simply run hp-setup as root and choose the ‘Show Advanced Options’ tab.
Add the printer’s ip address and it should detect the printer. This will work, whether the printer is connected via a cable or wireless to your network.

The only time you are going to have a problem that I can see, is if the wireless printer and pc are stand alone and not connected via a router/switch to the main network.

In this case, the hp-setup provides the ‘wireless’ option and warns that you require a temporary USB connection for the setup.
Presumably this is so that the hp-setup can provide the necessary wireless networking access between your pc and the printer and it could be overcome if you know the necessary access ids - or perhaps later from the printer’s jetdirect page.
(Unfortunately I don’t have a wireless printer to investigate.)