Bug 329184 - unable to set a network printer
Summary: unable to set a network printer
Status: RESOLVED WORKSFORME
Alias: None
Product: print-manager
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.12.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-24 07:01 UTC by Serge Moreau
Modified: 2013-12-24 15:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serge Moreau 2013-12-24 07:01:45 UTC
System settings Printer of kde 4.11 (and 4.12) unable to correctly set a printer using LPD/LPR protocol. You enter the uri in the menu ex : lpd://192.166.1.3/lp, the process goes on until you setup your printer driver. Then you get the following message : address bad uri device "lpd://lpd://192.168.1.3/lp"
That's effectively a bad uri which I tried to correct but never succeed.
Using system-config-printer i get the same result. I used the web interface of CUPS, and within the menu I enter the same uri lpd://192.168.1.3/lp.
This time all is OK, the printer works.
That's probably linked to a bad configuration generated by the scripts behind system setting printer of (kde) or system-config-printer (probably the same). Apparently they write the following uri :lpd://lpd://192.168.1.3/lp, instead of lpd://192.168.1.3/lp.
The script generated by the web interface of CUPS is the good one.
I think tis bug may be close to this one :
https://bugs.kde.org/show_bug.cgi?id=327660

Reproducible: Always

Steps to Reproduce:
1.Each time you use the uri steing protocol
2.
3.
Comment 1 Serge Moreau 2013-12-24 07:41:41 UTC
Of course this bug did not occur in kde 4.11.5
Comment 2 Daniel Nicoletti 2013-12-24 13:32:11 UTC
The LPD configuration expects an address and a queue, not a protocol and an address,
you must enter only 192.168.1.50 and the queue name.
Comment 3 Serge Moreau 2013-12-24 14:43:59 UTC
OK thanks, in that case it works. So i have to erase the first lpd characters. The same printer was also detected by DNS-SD. configuring through this led to the following message :The printer is not responding. With kde 4.11.5 its the way I usely configured the printer and it works.
Many thanks for your help.
Comment 4 Daniel Nicoletti 2013-12-24 15:20:41 UTC
Yes, that lpd string shouldn't be there indeed.
about dns-sd this error is a bit vague, if you can collect more info we can try to find out.