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
374 B

"""Discover HP Printers"""
from . import MDNSDiscoverable
class Discoverable(MDNSDiscoverable):
"""Support for the discovery of HP Printers"""
def __init__(self, nd):
"""Initialize the HP Printer discovery"""
super(Discoverable, self).__init__(nd, '_printer._tcp.local.')
def get_entries(self):
return self.find_by_device_name('HP ')