Added in Version 1.0.0

PrinterDelegate

The class that defines the printer status event

Constructor

PrinterDelegate()

Initialize object

Property

onReady

Notify that the printer is ready

() => void

onError

Notify that the printer has error

() => void

onPaperReady

Notify that the printer paper is ready

() => void

onPaperNearEmpty

Notify that the printer paper is near empty

() => void

onPaperEmpty

Notify that the printer is out of paper

() => void

onCoverOpened

Notify that the printer cover is open

() => void

onCoverClosed

Notify that the printer cover is closed

() => void

onCommunicationError

Notify that a communication error occurred

(error: StarIO10Error) => void