[cups] Determine the correct IPP URI

Jorge Fábregas jorge.fabregas at gmail.com
Mon Jul 20 18:00:12 PDT 2015


On 07/20/2015 08:37 AM, Michael Sweet wrote:
> The snmp backend can be used to probe a printer for the correct URI to use.  Try:
> 
>     /usr/lib/cups/backend/snmp ip-addres

Hi Michael,

This is exactly the sort of thing I was looking for.  Thanks!

I tried it now with the mentioned printer but it returned "socket"
regardless.  Ok, then I went to another machine (that had like 14
printers configured via IPP).  I just did "grep ipp
/etc/cups/printers.conf" and scanned all of those.  To my surprise they
all returned "socket://" as well (no mention of IPP).   Have you seen
this kind of beavior before?  I guess I must fire up snmpwalk :)

> Newer printers will use "/ipp/print" as the path.

I'm glad to know that there's some standardization in that part.

Thanks!
Jorge



More information about the cups mailing list