[cups] Determine the correct IPP URI
Michael Sweet
msweet at apple.com
Tue Jul 21 05:53:33 PDT 2015
Jorge,
Most (network) printers support AppSocket (socket://...) as that is the most basic "protocol" that can be supported (raw TCP socket).
> On Jul 20, 2015, at 9:00 PM, Jorge Fábregas <jorge.fabregas at gmail.com> wrote:
>
> 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
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups
_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups
mailing list