3.2. StarPrinterStatus

Class to hold the printer status.

Member

Contents

Type

Detail

Library version

paperDetectionError

Paper Detection Error

boolean

true … No paper separator is detected. false … Paper separator is detected correctly.

2.7.0+

compulsionSwitch

Compulsion SW

boolean

You can check status of Cash Drawer (Open or Close). true … Compulsion SW is pressed. false … Compulsion SW is not pressed.

2.2.0+

coverOpen

Cover Status

boolean

You can check status of Cover. true … Cover is opened. false … Cover is closed.

2.2.0+

cutterError

Auto-cutter Error

boolean

You can check status of Cutter. true … Cutter error occurs. false … Cutter error does not occur.

2.2.0+

etbAvailable

ETB available or not

boolean

true … available to use. false … not available to use.

2.2.0+

etbCounter

ETB Counter

int

You can get current value of ETB.

2.2.0+

headThermistorError

Head Thermistor Error

boolean

You can check status of Head Thermistor. true … Head thermistor detects an abnormal value. false … Head thermistor does not detect an abnormal value.

2.2.0+

offline

ONLINE/OFFLINE Status

boolean

You can check status of Online or offline. true … Printer is Offline. false … Printer is Online

2.2.0+

overTemp

Stopped by high head temperature

boolean

true … Printer is stopped by head temperature. false … Printer is not stopped by head temperature.

2.2.0+

jamError

Paper Detection Error

boolean

true … Paper jam is detected. false … Paper jam is not detected.

2.7.0+

presenterState

Presenter Paper Position

int

You can check status of Presenter.
0 : State where there is no paper in presenter
1 : State where paper is supplied (loop state)
3 : State where paper is discharged (Can be pulled out)
6 : State where paper is recovered
7 : State where paper is pulled out
2.6.0+

raw

Byte column of status

byte[]

Byte column of status

2.2.0+

rawLength

raw length

int

raw length

2.2.0+

receiptPaperEmpty

Paper end

boolean

true … Paper end. false … Paper does not end.

2.2.0+

receiptPaperNearEmptyInner

Paper Near-end (Inner Side)

boolean

true … Paper near-end. false … Paper does not near-end.

2.2.0+

receiveBufferOverflow

Receive Buffer Overflow

boolean

You can check status of received Buffer. true … Received buffer is full. false … Received buffer is not full.

2.2.0+

unrecoverableError

Non-recoverable Error

boolean

true … Unrecoverable error occurs. false … Unrecoverable error does not occur.
Unrecoverable error : Head Thermistor Error, Auto-cutter Error, Electric Voltage Error and etc.
2.2.0+

voltageError

Electric Voltage Error

boolean

true … Printers detects an abnormal power supply voltage. false … Printers does not detect an abnormal power supply voltage.

2.2.0+

connectedInterface

Type of interface that is currently connected

int

You can check type of interface that is currently connected.
0: USB-B
1: USB-A
2: Bluetooth
3: Ethernet
4: USB-C(USB PD support)
5: USB-C(USB PD not support)
2.3.0+

paperPresent

Hold print status

boolean

true … Holding paper. false … Does not holding paper.
2.7.0+

Supported member for each model.

Model/Emulation

mC-Print2 mC-Print3 mPOP FVP10 TSP100IIIW TSP100IIIBITSP100IIIU TSP100ECO TSP100U TSP100GTTSP100LAN TSP650II TSP650IISK TSP700II TSP800IITUP500SM-S210i SM-S220i SM-S230i SM-T300i/T300 SM-T400i BSC10 SM-L200 SM-L300 SP700SK1-211/221/V211 SK1-211/221/V211 Presenter SK1-311/321/V311 SK1-311/V311 Presenter
StarPRNT StarPRNT StarPRNT StarLine StarGraphic StarGraphic StarGraphic StarGraphic StarGraphic StarGraphic StarGraphic StarLine StarLine StarLine StarLine StarLine StarPRNT EscPosMobile StarPRNT EscPosMobile StarPRNT EscPosMobile StarPRNT EscPosMobile StarPRNT EscPosMobile EscPos StarPRNT StarPRNT StarDotImpact StarPRNT StarPRNT StarPRNT StarPRNT

paperDetectionError

- - - - - - - - - - - - - - - - - -

compulsionSwitch

- - - - - - - - - - - - - - - - -

coverOpen

cutterError

- - - - - - - - - - - - -

etbAvailable

- - - - - -

etbCounter

- - - - - -

headThermistorError

- - - - - - - - - - - - - - - - - - - - - - - - - -

offline

overTemp

- - - - - -

jamError

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

presenterState

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

raw

-

rawLength

-

receiptPaperEmpty

receiptPaperNearEmptyInner

- [1] - - - - - - - - - - - - - - - - - - - - -

receiveBufferOverflow

- - - - - - - - - - - - - - - - - - - - - - -

unrecoverableError

- - - - - - - - - - - - -

voltageError

- - - - - - - - - - - - - - - - - - - - - - - - - -

connectedInterface

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

paperPresent

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[1]

MCP30 is not supported