[cups.bugs] [HIGH] STR #1728: CUPS should rely on SNMP and not IPP for device discovery

George Liu george.liu at ussj.ricoh.com
Fri May 26 15:55:03 PDT 2006


[STR New]

In the web GUI of CUPS 1.2.0, add printer will invoke
/cups-1.2.0/backend/snmp.c to detect printers in the network.

Per my understanding, snmp.c will do the following:
1. CUPS uses SNMP device type and device description OID to broadcast and
detects printers

2. CUPS tries to determine connection URI. It tries various URIs, in the
order of IPP, socket 9100, then lpd

3. If the device support IPP, it will then request printer-make-and-model
IPP attribute from the printer.

As printer information has already been aquired using SNMP in the first
step, and the support for SNMP is way better than IPP (some printers
support IPP, but might not support all the IPP attributes), more printers
will be supported if CUPS rely on SNMP sysDescr to match PPDs.

Link: http://www.cups.org/str.php?L1728
Version: 1.2.0





More information about the cups-devel mailing list