blob: b005f6171ea626948211ae84a4c497fd72e377e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
"""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"
})
|