Added in Version 1.0.0

DrawerDelegate

The protocol that defines the status event for the cash drawer

Method

drawer(printer: StarPrinter, didSwitch openCloseSignal: Bool)

Notify that the state of the open/close signal for the cash drawer is switched

drawer(printer: StarPrinter, communicationErrorDidOccur error: Error)

Notify that a communication error occurred