You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
407 B

"""Discover Canon Printers"""
from . import SSDPDiscoverable
class Discoverable(SSDPDiscoverable):
"""Support for the discovery of Canon Printers"""
def get_entries(self):
"""Get all the Canon Printer uPnP entries."""
return self.find_by_device_description({
"manufacturer": "CANON INC.",
"deviceType": "urn:schemas-cipa-jp:device:DPSPrinter:1"
})