UniPRT SDK v2.0.0.0
 
Loading...
Searching...
No Matches
PrinterDiscovery.printer_discovery.NetworkDiscover Class Reference

Static Public Member Functions

List[str] get_printer_list ()
 Get a list of all available printers.
 
List[str] get_printer_list_with_brand (PrinterBrand brand)
 Get a list of printers for the specified brand.
 
List[str] get_printer_list_with_brand (PrinterBrand brand, int timeout_ms)
 Asynchronously get a list of printers for the specified brand.
 

Member Function Documentation

◆ get_printer_list()

List[str] PrinterDiscovery.printer_discovery.NetworkDiscover.get_printer_list ( )
static

Get a list of all available printers.

Returns
A list of discovered printer IP addresses (TSC and PTX).

◆ get_printer_list_with_brand() [1/2]

List[str] PrinterDiscovery.printer_discovery.NetworkDiscover.get_printer_list_with_brand ( PrinterBrand brand)
static

Get a list of printers for the specified brand.

Parameters
brandThe printer brand to scan (TSC / PTX / ALL).
Returns
A list of discovered printer IP addresses for the given brand.

◆ get_printer_list_with_brand() [2/2]

List[str] PrinterDiscovery.printer_discovery.NetworkDiscover.get_printer_list_with_brand ( PrinterBrand brand,
int timeout_ms )
static

Asynchronously get a list of printers for the specified brand.

Parameters
brandThe printer brand to scan (TSC / PTX / ALL).
timeout_msThe timeout duration (in milliseconds) for the discovery process.
Returns
A list of discovered printer IP addresses.

The documentation for this class was generated from the following file: