◆ 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
-
| brand | The 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
-
| brand | The printer brand to scan (TSC / PTX / ALL). |
| timeout_ms | The 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:
- /Users/bob_huang/Documents/Project/UniPRTSDK_python/PrinterDiscovery/printer_discovery.py