cups icon indicating copy to clipboard operation
cups copied to clipboard

How to change URL format of "printer-uri" from "/printers/xxxx" to "/ipp/print"?

Open maniper opened this issue 3 years ago • 0 comments

Does someone know how to change the default URL format of "printer-uri" to "/ipp/print"?

My printer is using CUPS v2.2.3, and when adding a printer the default URI format is: ipp://<hostname>.local:631/printers/xxxxx or http://<hostname>.local:631/printers/xxxxx

I want to support PaperCut Hive printing, but it seems the required "printer-uri" format it expects is "/ipp/print". So when PaperCut Hive send Get-Printer-Attributes using the printer-uri http://<hostname>.local:631/ipp/print, the response is client-error-not-found because the printer does not support this format.

I tried to search for information on the internet, but it seems there's no specific information about this matter. For example, I tried the instruction from below link but it only change the format to ipp://<hostname>.local:631/printers/print. https://superuser.com/questions/1008646/how-to-rename-a-cups-printer

Is there a way to change the /printers/print to /ipp/print?

Note: I can modify the cups configuration of my printer, so if there are special configuration needed, I will be able to change it.

maniper avatar Sep 06 '22 05:09 maniper