Click or drag to resize

PrinterUtilUpdateFirmware Method

Update the printer firmware.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax
public static void UpdateFirmware(
	string connection,
	string firmwareFilePath,
	long timeout
)

Parameters

connection
Type: SystemString
The connection string.
firmwareFilePath
Type: SystemString
File path of firmware file.
timeout
Type: SystemInt64
Timeout in milliseconds. The minimum allowed timeout is 10 minutes (600000ms) due to the need to reset the printer after flashing the firmware. If a timeout value less than the minimum is provided, the minimum will be used instead.
Exceptions
ExceptionCondition
ConnectionExceptionIf the connection can not be opened or is closed prematurely.
ZebraPrinterLanguageUnknownExceptionIf the printer language could not be determined.
ZebraIllegalArgumentExceptionIf an invalid firmware file is specified for the printer.
DiscoveryExceptionIf an error occurs while waiting for the printer to come back online.
TimeoutExceptionIf the maximum timeout is reached prior to the printer coming back online with the new firmware.
FileNotFoundExceptionIf the firmware file cannot be found or cannot be opened.
Remarks
Download Firmware Here
See ConnectionBuilder for the format of connection
See Also