[cups] How to make the Device-URI accessible?

fx YAN BING yan.bing at fujixerox.co.jp
Wed Dec 20 16:43:59 PST 2017

Hi, Michael 
and all the CUPS professionals,

I'm sorry to trouble you about a question.
I'm new to CUPS, and I'm creating a simulator of printer server for testing our IPP client device.
Our IPP client device can only request a printer server through URI like following, and it is not configurable.

However, if I change the source code of our IPP client device from http://ip:631/ipp/printername
 to http://ip:631/printers/printername , the IPP client device will work well.

Details by step:
・Build CUPS2.2.6 on Ubuntu 10.4, and install it.
I can access the installed printer server's management page through

・Then add a printer named "HP-Printer" through or the following command.
lpadmin -p HP-Printer -v -E -L "Test Place"
I can see the Connection string(Device-URI) as following after the printer added.

・And then I try to get this printer's information with our IPP client, but when I use this URL, it succeeded,
while this URL, it failed.
Highly appreciated if you could explain the reason and help me to solve this problem.
How to make the printer's Device-URI usable and accessible.
If it needs to change the code, please give me advice.
Thank you in advance.

Best Regards

More information about the cups mailing list