Click or drag to resize

UsbDiscovererGetZebraUsbPrinters Method (DiscoveredPrinterFilter)

Enumerate currently connected Zebra USB printers that meet the specified DiscoveredPrinterFilter criteria.

Namespace:  Zebra.Sdk.Printer.Discovery
Assembly:  SdkApi_Desktop (in SdkApi_Desktop.dll) Version: 2.14.1989
Syntax
public static List<DiscoveredUsbPrinter> GetZebraUsbPrinters(
	DiscoveredPrinterFilter discoveredPrinterFilter
)

Parameters

discoveredPrinterFilter
Type: Zebra.Sdk.Printer.DiscoveryDiscoveredPrinterFilter
A custom DiscoveredPrinterFilter instance used to determine whether or not a discovered device should be ignored.

Return Value

Type: ListDiscoveredUsbPrinter
>List of locally connected Zebra USB printers.
Exceptions
ExceptionCondition
ConnectionExceptionIf the system is not running the Windows operating system or an error occurs during discovery.
See Also