Click or drag to resize

UsbDiscovererGetZebraUsbPrinters(DiscoveredPrinterFilter) Method

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: 3.0.3271
Syntax
public static List<DiscoveredUsbPrinter> GetZebraUsbPrinters(
	DiscoveredPrinterFilter discoveredPrinterFilter
)

Parameters

discoveredPrinterFilter  DiscoveredPrinterFilter
A custom DiscoveredPrinterFilter instance used to determine whether or not a discovered device should be ignored.

Return Value

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