cups-snmp(8) Apple Inc. cups-snmp(8)NAME
snmp - cups snmp backend
lpinfo -v --include-schemes snmp
The CUPS SNMP backend provides legacy discovery and identification of
network printers using SNMPv1. When used for discovery through the
scheduler, the backend will list all printers that respond to a broad‐
cast SNMPv1 query with the "public" community name. Additional queries
are then sent to printers that respond in order to determine the cor‐
rect device URI, make and model, and other information needed for
In the first form, the SNMP backend is run directly by the user to look
up the device URI and other information when you have an IP address or
hostname. This can be used for programs that need to configure print
queues where the user has supplied an address but nothing else.
In the second form, the SNMP backend is run indirectly using the
lpinfo(8) command. The output provides all printers detected via SNMP
on the configured broadcast addresses. Note: no broadcast addresses are
configured by default.
The CUPS SNMP backend uses the information from the Host, Printer, and
Port Monitor MIBs along with some vendor private MIBs and intelligent
port probes to determine the correct device URI and make and model for
The SNMP backend reads the /etc/cups/snmp.conf configuration file, if
present, to set the default broadcast address, community name, and log‐
ging level. The configuration file is documented in cups-snmp.conf(5).
The DebugLevel value can be overridden using the CUPS_DEBUG_LEVEL envi‐
ronment variable and the MaxRunTime value can be overridden using the
CUPS_MAX_RUN_TIME environment variable.
SEE ALSObackend(7), cups-snmp.conf(5), cupsd(8), cupsd.conf(5), filter(7),
Copyright 2007-2013 by Apple Inc.
23 April 2012 CUPS cups-snmp(8)