Added in Version 1.0.0
PrinterDelegate
The protocol that defines the printer status event
| Method | |
|---|---|
| Notify that the printer is ready | |
| Notify that the printer has error | |
| Notify that the printer paper is ready | |
| Notify that the printer paper is near empty | |
| Notify that the printer is out of paper | |
| Notify that the printer cover is open | |
| Notify that the printer cover is closed | |
| printer(_ printer: StarPrinter, communicationErrorDidOccur error: Error) | Notify that a communication error occurred | 
Note
This Delegate is Class-Only Protocol. It cannot apply to Swift struct (e.g. SwiftUI) and Enum. If necessary, create another class and apply it to the class.

