Bug 748717

Summary: Installing HP Deskjet F4500 series wireless still difficult.
Product: [Fedora] Fedora Reporter: Thies Thate <mthate90>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 20CC: inbox+redhat, jpopelka, twaugh
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-23 08:18:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Attachment for Bug 748717 for Tim Waugh
none
I add some extra screenshots with the right URI
none
Screenshots with no difference with screenshot-10, I think.
none
TroubleshootPrinter none

Description Thies Thate 2011-10-25 07:01:00 UTC
Description of problem: Installing HP Deskjet F4500 series (for F4580) wireless 
gives as URI: dnssd://Deskjet%20F4500%20series%20%5B0864D5%5D._pdl-datastream._tcp.local/ but now the printer policies are automatically disabled and hplip-gui does not recognize the printer.

I have to change the URI to hp:/net/Deskjet_F4500_series?ip=192.168.1.7 in order to have the printer and hplip-gui working right.


Version-Release number of selected component (if applicable): HP Deskjet F4580


How reproducible: See above.


Steps to Reproduce:
1.New installation of Fedore 15
2.Use system-config-printer to add the printer via 
3."Find networkprinter" accept adjusting Firewall automatically
4.The wireless printer is recognized with URI see above.
5.Missing hplip-gui and xsane installed. Hplip-gui for remote control of the printer and xsane for easy scanning.
6.hplip-gui does not see the printer. And the printer policies are disabled.
7.I know the right printer IP from other distro installs.
8.Changing the URI to the URI with the IP (see above) brings the printer and hplip-gui alive.

  
Actual results: see above


Expected results: See above


Additional info: Some distroes see the printer IP automatically.

Comment 1 Tim Waugh 2011-10-25 08:43:18 UTC
Not sure what you mean by "the printer policies are disabled" -- can you explain what you see that leads you to say this?

After having installed hplip-gui, if you then use system-config-printer to add the printer again, do you get a choice of device URIs to use (in the "Connection" expander)?

Comment 2 Thies Thate 2011-10-25 14:50:04 UTC
(In reply to comment #1)
> Not sure what you mean by "the printer policies are disabled" -- can you
> explain what you see that leads you to say this?
> 
> After having installed hplip-gui, if you then use system-config-printer to add
> the printer again, do you get a choice of device URIs to use (in the
> "Connection" expander)?

The only way to inform you is by sending you a few screenshots:
To answer your questions I deleted the printer in system-config-printer and start the installation again:


Firstly I switch on the printer and do a new logout/login.

To begin I use the F15 method by using systemsetting/hardware/printer because normally I do not know the ip address of the printer I need to search for the printer. But that function is not available here. No find function.

(screenshot.png, screenshot-1.png, screenshot-2.png, screenshot-3.png)

So I need to go to the system-config-printer (in applications/other/printing).

(screenshot-4.png, screenshot-6.png, screenshot-7.png, screenshot-8.png)

I accept the automatic adjustment of the firewall.

The result is screenshot-9.png, screenshot-10.png, screenshot-11.png, screenshot-12.png, screenshot-13.png, screenshot-14.png.

I try to print a testpage, see screenshot-15.png. But now I get screenshot-16.png) 

Screenshot -17 shows the allready mentioned policies disbled.

If you need more or other info I 'll be happy...

(I think I can add the screenshots at the end of this "additional information", if you do not see the screenshots please let me know how I can send them.)

Comment 3 Thies Thate 2011-10-25 14:58:08 UTC
Created attachment 530112 [details]
Attachment for Bug 748717 for Tim Waugh

Comment 4 Thies Thate 2011-10-25 15:23:27 UTC
(In reply to comment #3)
> Created attachment 530112 [details]
> Attachment for Bug 748717 for Tim Waugh

I add some extra screenshots with the right URI.

Comment 5 Thies Thate 2011-10-25 15:25:11 UTC
Created attachment 530125 [details]
I add some extra screenshots with the right URI

Comment 6 Tim Waugh 2011-10-25 15:45:43 UTC
Thanks.

What does 'hp-makeuri -c 192.168.1.7' say?

Comment 7 Thies Thate 2011-10-25 16:07:07 UTC
(In reply to comment #6)
> Thanks.
> 
> What does 'hp-makeuri -c 192.168.1.7' say?

[xantippe@river1 ~]$ hp-makeuri -c 192.168.1.7
hp:/net/Deskjet_F4500_series?ip=192.168.1.7

Comment 8 Tim Waugh 2011-10-25 16:31:25 UTC
So if you now add the printer using system-config-printer (having now installed hplip), does the window look different at the point you took screenshot-10?  There should be a "> Connections" expander in the bottom right of the window.

Comment 9 Thies Thate 2011-10-25 20:39:44 UTC
(In reply to comment #8)
> So if you now add the printer using system-config-printer (having now installed
> hplip), does the window look different at the point you took screenshot-10? 
> There should be a "> Connections" expander in the bottom right of the window.

As far as I can see there is no difference see the attached screenshots 23-27
(first I did again a new printer installation with HPLIP still installed.)

Comment 10 Thies Thate 2011-10-25 20:42:39 UTC
Created attachment 530180 [details]
Screenshots with no difference with screenshot-10, I think.

Comment 11 Tim Waugh 2011-11-18 16:04:05 UTC
What are you typing into the "Find Network Printer" Host field? 192.168.1.7?

Could you please run 'system-config-printer --debug', and try it again?  Paste in the output you get.

Comment 12 Thies Thate 2011-11-20 16:27:43 UTC
(In reply to comment #11)
> What are you typing into the "Find Network Printer" Host field? 192.168.1.7?
> 
> Could you please run 'system-config-printer --debug', and try it again?  Paste
> in the output you get.

Sorry for my late reaction, I just came in.
Here my information.

a) After activating "Find Network Printer" I do not type anything in the hostfield because normally the ip address has to be found automatically.
As in other distroes.

b) I run 'system-config-printer --debug' with a normal working printer using the right ip address:

[xantippe@river1 ~]$ system-config-printer --debug
+<NewPrinterGUI object at 0x9227b44 (newprinter+NewPrinterGUI at 0x92939a0)>
Connected as user xantippe
+<PrinterPropertiesDialog object at 0x922f874 (printerproperties+PrinterPropertiesDialog at 0x9337760)>
<authconn.Connection instance at 0x92297ac>: Operation += 'bezig met ophalen wachtrijdetails'
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
<authconn.Connection instance at 0x92297ac>: Operation ended
+<ppdcache.PPDCache instance at 0x9234ccc>
refresh
Created subscription 8, events=['printer-added', 'printer-deleted', 'printer-state-changed']
Next notifications fetch in 1s
Deferred populateList by 200ms
Deferred populateList by 200ms
update_jobs
<authconn.Connection instance at 0x92297ac>: Operation += 'bezig met ophalen wachtrijdetails'
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
<authconn.Connection instance at 0x92297ac>: Operation ended
get_notifications
update_jobs
Next notifications fetch in 60s
get_notifications
update_jobs
Next notifications fetch in 60s

You asked me to try it again.

But I do not understand what you mean. Do I have to uninstall the working printer and follow again your system-config-printer --debug ?

Please give me instruction what I have to do.

Thanks

Comment 13 Tim Waugh 2011-11-21 12:37:19 UTC
Ah, I see!  The "Find Network Printer" entry is irrelevant to this issue in that case.  That entry is for finding a particular network printer, given its IP address or hostname.

Instead of that, you are simply waiting for the automatic network printer detection to find printers -- something that will happen regardless of whether you select "Find Network Printer" (as indicated subtly with the spinner in the bottom left).

The question on my mind is why the default "dnssd:" URI didn't work for you.

Could you please change the URI back to the dnssd: one (by selecting the automatically-discovered printer for the queue's device), and run the printing troubleshooter?

https://fedoraproject.org/wiki/Printing/Debugging#Printing_troubleshooter

Then attach the resulting troubleshoot.txt file here using the 'Add an attachment' link above.  Thanks.

Comment 14 Thies Thate 2011-11-21 15:18:54 UTC
Created attachment 534802 [details]
TroubleshootPrinter

Comment 16 Thies Thate 2012-04-01 13:01:22 UTC
I try it again.

Working with my HP Deskjet F4580 wireless under F16 still not perfect.

Installing the printer using system-config-printer gives a device URI of

hp:/net/Deskjet_F4500_series?zc=HP0864D5

I can print a testpage but hplip-gui does not work. I need hplip-gui to check the printer supplies because the printer is not placed in the same room of the PC.

Happily  system-config-printer gives the possibility to change the URI.

I know this had to be hp:/net/Deskjet_F4500_series?ip=192.168.1.7

After this change of the URI hplip-gui works very well.

Question to Tim Waugh: can system-config-printer automatically give the needed URI with the ip address as explained above?

Thanks

Comment 17 Tim Waugh 2012-04-02 12:26:25 UTC
I'm afraid I haven't had time to look into this other than suspecting the dnssd URI is getting encoded wrong.

The URI should not need to be changed. The real problem preventing DNS-SD hostnames being resolved needs to be found and fixed.

Comment 18 Thies Thate 2012-04-02 13:03:46 UTC
Nevertheless thanks for your reaction.

Comment 19 Thies Thate 2012-04-06 10:29:58 UTC
Attention Tim Waugh.

I tested Ubuntu 12.04. unity.
They use your system-config-printer and the device URI automatically gives 
hp:/net/Deskjet_F4500_series?ip=192.168.1.7 , just what I needed.
Hplip-gui works fine.

Up to now most gnome3 printer utilities give (in my situation) the wrong URI (for hplip-gui) without the possibility for changing this manually.

Comment 21 Fedora End Of Life 2013-01-16 20:23:25 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 22 Fedora End Of Life 2013-02-13 23:48:05 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 23 Marek Paśnikowski 2014-09-12 14:41:38 UTC
I had this exact problem on my Fedora 20 installation. The work around is to manually enter the IP address of the printer, which I had to retrieve from the router's data. I am writing this post only to inform that the problem is still not solved in the current version of Fedora.

Comment 24 Tim Waugh 2014-09-22 10:15:25 UTC
Marek: could you please file a new bug report about this? It will help to filter out what's relevant from what's no longer relevant. Thanks.

Comment 25 Marek Paśnikowski 2014-09-22 11:21:32 UTC
Sure, I could. But this conflicts with my current understanding of working with a bugzilla. If it is still a same bug, why report it anew? According to what I know, you are effectively asking me to create a duplicate...
The only interpretation of the situation I can come up with is that you (Red Hat) refuse to reopen old bugs without regards to duplication - is that it?
Anyway, I will file the new report later today.

Comment 26 Tim Waugh 2014-09-22 13:40:37 UTC
I was just hoping to make things a little clearer, as this original bug is a little fuzzy.

I'm happy to reopen this one. Either way, it would still be appreciated if you could re-do the 'how to reproduce' section, as I don't think comment #0 quite applies the same in current releases.

Comment 27 Marek Paśnikowski 2014-09-23 03:18:29 UTC
Well, In my case it looks like that:
I have access to HP DeskJet F4580. When I tried to use the default hp-setup routine, it failed to find any printer. The printer can be found by using the other tool from KDE, but it installs only print support - no scanning.
However, if I manually input in the hp-setup the IP address of the printer, it finds it straight away.
I have no idea how this tool searches for the printer, but it certainly fails to recognize it on it's own. I can not even tell how wide spread this problem is, or if the fault is actually with HP. Anyway, besides this single detection problem everything seems to work just fine. Is there anything else that I failed to answer?

To me, it feels as if the configuration program from HP is unable to or does not do search the IP range for the printer. But this is just my guesswork.

Comment 28 Tim Waugh 2014-09-23 08:18:40 UTC
I am looking for similarities between your report and the original report here. They are quite different, in the end.

You are using hp-setup, not system-config-printer. When you do you system-config-printer (I guess? the "other tool from KDE"), apparently the print queue works fine, which is again different from this original report.

When you use hp-setup, it fails to find the queue; whereas in this original report, it found the queue (see comment #13 and then comment #19, "Hplip-gui works fine").

I am sorry to ask again, but could you please file a separate bug report, as this appears to be a separate issue?