3.2. StarPrinterStatus

Class to hold the printer status.

Member

Contents

Type

Detail

Library version

paperDetectionError

Paper Detection Error

SM_BOOLEAN

SM_TRUE … No paper separator is detected. SM_FALSE … Paper separator is detected correctly.

2.8.0+

compulsionSwitch

Compulsion SW

SM_BOOLEAN

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

2.2.3+

coverOpen

Cover Status

SM_BOOLEAN

You can check status of Cover. SM_TRUE … Cover is opened. SM_FALSE … Cover is closed.

2.2.3+

cutterError

Auto-cutter Error

SM_BOOLEAN

You can check status of Cutter. SM_TRUE … Cutter error occurs. SM_FALSE … Cutter error does not occur.

2.2.3+

etbAvailable

ETB available or not

SM_BOOLEAN

SM_TRUE … available to use. SM_FALSE … not available to use.

2.2.3+

etbCounter

ETB Counter

UCHAR

You can get current value of ETB.

2.2.3+

headThermistorError

Head Thermistor Error

SM_BOOLEAN

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

2.2.3+

offline

ONLINE/OFFLINE Status

SM_BOOLEAN

You can check status of Online or offline. SM_TRUE … Printer is Offline. SM_FALSE … Printer is Online

2.2.3+

overTemp

Stopped by high head temperature

SM_BOOLEAN

SM_TRUE … Printer is stopped by head temperature. SM_FALSE … Printer is not stopped by head temperature.

2.2.3+

raw

Byte column of status

UCHAR[63]

Byte column of status

2.2.3+

rawLength

raw length

CHAR

raw length

2.2.3+

receiptPaperEmpty

Paper end

SM_BOOLEAN

SM_TRUE … Paper end. SM_FALSE … Paper does not end.

2.2.3+

receiptPaperNearEmptyInner

Paper Near-end (Inner Side)

SM_BOOLEAN

SM_TRUE … Paper near-end. SM_FALSE … Paper does not near-end.

2.2.3+

receiveBufferOverflow

Receive Buffer Overflow

SM_BOOLEAN

You can check status of received Buffer. SM_TRUE … Received buffer is full. SM_FALSE … Received buffer is not full.

2.2.3+

unrecoverableError

Non-recoverable Error

SM_BOOLEAN

SM_TRUE … Unrecoverable error occurs. SM_FALSE … Unrecoverable error does not occur.
Unrecoverable error : Head Thermistor Error, Auto-cutter Error, Electric Voltage Error and etc.
2.2.3+

voltageError

Electric Voltage Error

SM_BOOLEAN

SM_TRUE … Printers detects an abnormal power supply voltage. SM_FALSE … Printers does not detect an abnormal power supply voltage.

2.2.3+

connectedInterface

Type of interface that is currently connected

UCHAR

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.4.0+

paperPresent

Hold print status

SM_BOOLEAN

SM_TRUE … Holding paper. SM_FALSE … Does not holding paper.
2.8.0+

Supported member for each model.

Model/Emulation

mC-Print2 mC-Print3 mPOP FVP10 TSP100IIIW TSP100IIIBITSP100IIIU TSP100ECO TSP100U TSP100GTTSP100LAN TSP650II TSP650IISK TSP700II TSP800IISM-S210i SM-S220i SM-S230i SM-T300i/T300 SM-T400i BSC10 SM-L200 SM-L300 SP700
StarPRNT StarPRNT StarPRNT StarLine StarGraphic StarGraphic StarGraphic StarGraphic StarGraphic StarGraphic StarGraphic StarLine StarLine StarLine StarLine StarPRNT EscPosMobile StarPRNT EscPosMobile StarPRNT EscPosMobile StarPRNT EscPosMobile StarPRNT EscPosMobile EscPos StarPRNT StarPRNT StarDotImpact

paperDetectionError

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

compulsionSwitch

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

coverOpen

cutterError

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

etbAvailable

- - - - - -

etbCounter

- - - - - -

headThermistorError

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

offline

overTemp

- - - - - -

raw

-

rawLength

-

receiptPaperEmpty

receiptPaperNearEmptyInner

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

receiveBufferOverflow

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

unrecoverableError

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

voltageError

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

connectedInterface

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

paperPresent

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

MCP30 is not supported