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.1869
Syntax public static List<DiscoveredUsbPrinter> GetZebraUsbPrinters(
DiscoveredPrinterFilter discoveredPrinterFilter
)
Public Shared Function GetZebraUsbPrinters (
discoveredPrinterFilter As DiscoveredPrinterFilter
) As List(Of DiscoveredUsbPrinter)
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 Exception | Condition |
---|
ConnectionException | If the system is not running the Windows operating system or an error occurs during discovery. |
See Also