UsbDiscovererGetZebraUsbPrinters(DiscoveredPrinterFilter) Method
|
Enumerate currently connected Zebra USB printers that meet the specified DiscoveredPrinterFilter criteria.
Namespace: Zebra.Sdk.Printer.DiscoveryAssembly: SdkApi.Desktop (in SdkApi.Desktop.dll) Version: 3.0.3271
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 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 Exception | Condition |
---|
ConnectionException | If the system is not running the Windows operating system or an error occurs during discovery. |
See Also