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.13.898
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