Bug 329184

Summary: unable to set a network printer
Product: [Frameworks and Libraries] print-manager Reporter: Serge Moreau <smoreau17>
Component: generalAssignee: Daniel Nicoletti <dantti12>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 4.12.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

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.