UniPRT SDK  v2.0.0.1
com.UniPRT.Sdk.Discovery.NetworkDiscover Class Reference

Static Public Member Functions

static List< String > getPrinterList (DiscoveryPacket.Brand brand, int timeoutMs)
 Returns list of addresses to printers discovered on network. More...
 

Member Function Documentation

◆ getPrinterList()

static List<String> com.UniPRT.Sdk.Discovery.NetworkDiscover.getPrinterList ( DiscoveryPacket.Brand  brand,
int  timeoutMs 
)
static

Returns list of addresses to printers discovered on network.

Discovery is done by broadcasting UDP messages and requires that network be configured to allow UDP packets.

Parameters
[in]brandGet all printers or filter by brand.
[in]responseTimeoutMsTimeout after last printer response received before stop listening for new printer response.

References com.UniPRT.Sdk.Discovery.DiscoveryPacket.Brand.ALL, com.UniPRT.Sdk.Discovery.DiscoveryNetwork.findPrinters(), com.UniPRT.Sdk.Discovery.DiscoveryPacket.Brand.PTX, com.UniPRT.Sdk.Discovery.DiscoveryNetwork.setTimeoutMs(), and com.UniPRT.Sdk.Discovery.DiscoveryPacket.Brand.TSC.


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