Click or drag to resize

ConnectionReestablisherReestablishConnection Method

Reestablishes a connection to a printer which may have been closed due to an event, like a reboot.

Namespace:  Zebra.Sdk.Comm
Assembly:  SdkApi.Core (in SdkApi.Core.dll) Version: 2.15.2634
Syntax
void ReestablishConnection(
	PrinterReconnectionHandler handler
)

Parameters

handler
Type: Zebra.Sdk.PrinterPrinterReconnectionHandler
Handles recreating and opening a connection to a printe.r
Exceptions
ExceptionCondition
DiscoveryExceptionIf the printer cannot be found.
ConnectionExceptionIf the connection can not be created or open.
TimeoutExceptionIf a connection can not be reestablished after a defined timeout
ZebraPrinterLanguageUnknownExceptionIf the connection can not talk to the printer.
See Also