Added in Version 2.10.0

StarPrinterSettingFirmware

The class for control printer firmware related

Property

Default value

Type

isUpdatable

Whether the firmware update can be able to be used on the connected printer

Depend on model

Bool

currentVersion

Current firmware version of the connected printer

""

String

latestVersion

Latest firmware version of connected printer

nil

String?

updateDelegate

Status event for updating firmware

nil

FirmwareUpdateDelegate?

Method

getCurrentVersion() async

Get the current firmware version

checkVersions() async

Check the current and latest firmware versions

update() async

Update the connected printer to the latest firmware