Select your printer model
getStatus
Acquires the current status information.
Syntax
public PrinterStatusInfo getStatus () |
Return value
The current status is returned in the PrinterStatusInfo type.
The following status information is stored in the object as a property.
Stored status information can be acquired using the getter method of each property.
Printer status |
Status |
Description |
---|---|---|
connection: Connection status |
Printer.TRUE |
Connected |
Printer.FALSE |
Status is unknown. |
|
online: Online status |
Printer.TRUE |
Online |
Printer.FALSE |
Offline |
|
Printer.UNKNOWN |
Status is unknown. |
|
coverOpen: Cover status |
Printer.TRUE |
Cover is open. |
Printer.FALSE |
Cover is closed. |
|
Printer.UNKNOWN |
Status is unknown. |
|
paper: Paper status |
Printer.PAPER_OK |
Paper remains. |
Printer.PAPER_NEAR_END |
Paper is running out. |
|
Printer.PAPER_EMPTY |
Paper has run out. |
|
Printer.UNKNOWN |
Status is unknown. |
|
paperFeed: Paper feed |
Printer.TRUE |
Paper feed in progress |
Printer.FALSE |
Stopped |
|
Printer.UNKNOWN |
Status is unknown. |
|
panelSwitch: Panel switch (Feed button) status |
Printer.SWITCH_ON |
Pressed |
Printer.SWITCH_OFF |
Not pressed |
|
Printer.UNKNOWN |
Status is unknown. |
|
drawer: Offline status due to the battery level (Mobile models) |
Printer.DRAWER_HIGH |
High |
Printer.DRAWER_LOW |
Low |
|
Printer.UNKNOWN |
Status is unknown. |
|
drawer: Drawer kick connector pin No.3 status (except for the Mobile models) |
Printer.DRAWER_HIGH |
High |
Printer.DRAWER_LOW |
Low |
|
Printer.UNKNOWN |
Status is unknown. |
|
errorStatus: Error status |
Printer.NO_ERR |
Normal |
Printer.MECHANICAL_ERR |
Mechanical error occurred. |
|
Printer.AUTOCUTTER_ERR |
Auto cutter error occurred. |
|
Printer.UNRECOVER_ERR |
Unrecoverable error occurred. |
|
Printer.AUTORECOVER_ERR |
Automatic recovery error occurred. |
|
Printer.UNKNOWN |
Status is unknown. |
|
autoRecoverError: Automatic recovery error status |
Printer.HEAD OVERHEAT |
Head overheat error |
Printer.MOTOR OVERHEAT |
Motor driver IC overheat error |
|
Printer.BATTERY OVERHEAT |
Battery overheat error |
|
Printer.WRONG PAPER |
Paper error |
|
Printer.COVER_OPEN |
Cover is open. |
|
Printer.UNKNOWN |
Unknown status |
|
buzzer: Buzzer sound status |
Printer.TRUE |
Sounding (Applicable printer only) |
Printer.FALSE |
Stopped (Applicable printer only) |
|
Printer.UNKNOWN |
Status is unknown. |
|
adapter: AC adapter connection status |
Printer.TRUE |
Connected |
Printer.FALSE |
Disconnected |
|
Printer.UNKNOWN |
Status is unknown. |
|
batteryLevel: Remaining battery capacity |
Printer.BATTERY_LEVEL_6 |
Remaining battery capacity 6 |
Printer.BATTERY_LEVEL_5 |
Remaining battery capacity 5 |
|
Printer.BATTERY_LEVEL_4 |
Remaining battery capacity 4 |
|
Printer.BATTERY_LEVEL_3 |
Remaining battery capacity 3 |
|
Printer.BATTERY_LEVEL_2 |
Remaining battery capacity 2 |
|
Printer.BATTERY_LEVEL_1 |
Remaining battery capacity 1 (almost run out) |
|
Printer.BATTERY_LEVEL_0 |
Remaining battery capacity 0 (run out) |
|
Printer.UNKNOWN |
Status is unknown. |
|
removalWaiting: Paper removal wait status |
Printer.REMOVAL_WAIT_PAPER |
Waiting for removal. |
Printer.REMOVAL_WAIT_NONE |
Not waiting for removal. |
|
Printer.UNKNOWN |
Status is unknown. |
|
paperTakenSensor: Paper removal sensor status |
Printer.REMOVAL_DETECT_PAPER |
The paper removal sensor is detecting paper. |
Printer.REMOVAL_DETECT_PAPER_NONE |
The paper removal sensor is not detecting paper. |
|
Printer.REMOVAL_DETECT_UNKNOWN |
A state that is not detectable by the paper removal sensor. |
|
Printer.UNKNOWN |
Status is unknown. |
|
unrecoverError: Unrecoverable error status |
Printer.HIGH_VOLTAGE_ERR |
High voltage error |
Printer.LOW_VOLTAGE_ERR |
Low voltage error |
|
Printer.UNKNOWN |
Status is unknown. |
Supplementary explanation
- This API is not executed on the main thread. Execute it on the sub-thread.
- If this API is called while communication is not available, printer states other than "connection" will be set to "Printer.UNKNOWN."
- The status object is set to the status at the timing of execution of this API and will not be updated.
- To get the "adapter" or "batteryLevel" status, you need to enable transmission of power on/off and battery status using Epson TM Utility.
- To get the "paperTakenSensor" status, you need to enable the "Paper Taken Sensor Status" setting using Epson TM Utility.
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
- Introduction
- help
- Printer class
- Printer
- connect
- disconnect
- startMonitor
- stopMonitor
- getStatus
- sendData
- beginTransaction
- endTransaction
- requestPrintJobStatus
- clearCommandBuffer
- addTextAlign
- addLineSpace
- addTextRotate
- addText
- addTextLang
- addTextFont
- addTextSmooth
- addTextSize
- addTextStyle
- addHPosition
- addFeedUnit
- addFeedLine
- addImage
- addLogo
- addBarcode
- addSymbol
- addHLine
- addVLineBegin
- addVLineEnd
- addPageBegin
- addPageEnd
- addPageArea
- addPageDirection
- addPagePosition
- addPageLine
- addPageRectangle
- addRotateBegin
- addRotateEnd
- addCut
- addPulse
- addSound
- addFeedPosition
- addLayout
- addCommand
- getMaintenanceCounter
- resetMaintenanceCounter
- getPrinterSetting
- setPrinterSetting
- getPrinterSettingEx
- setPrinterSettingEx
- setPrinterSettingEx[Obsolete]
- verifyPassword
- getPrinterInformation
- downloadFirmwareList
- getPrinterFirmwareInfo
- verifyUpdate
- updateFirmware
- forceRecover
- forcePulse
- forceStopSound
- forceCommand
- forceReset
- setStatusChangeEventListener
- setReceiveEventListener
- setGetPrinterSettingExListener
- setSetPrinterSettingExListener
- setVerifyPasswordListener
- interval
- LFCPrinter class
- HybridPrinter class
- HybridPrinter
- connect
- disconnect
- startMonitor
- stopMonitor
- getStatus
- sendData
- beginTransaction
- endTransaction
- clearCommandBuffer
- selectPaperType
- waitInsertion
- cancelInsertion
- ejectPaper
- readMicrData
- cleanMicrReader
- forceRecover
- forcePulse
- forceCommand
- forceReset
- paperType
- interval
- waitTime
- mode40Cpl
- setStatusChangeEventListener
- setReceiveEventListener
- LineDisplay class
- LineDisplay
- connect
- disconnect
- getStatus
- sendData
- clearCommandBuffer
- addInitialize
- addCreateWindow
- addDestroyWindow
- addSetCurrentWindow
- addClearCurrentWindow
- addCreateScreen
- addCreateScreenCustom
- addCreateTextArea
- addDestroyTextArea
- addSetCurrentTextArea
- addClearCurrentTextArea
- addSetCursorPosition
- addMoveCursorPosition
- addSetCursorType
- addText
- addReverseText
- addMarqueeText
- addSetBlink
- addSetBrightness
- addBackgroundColor
- addStartSlideShow
- addStopSlideShow
- addDownloadImage
- addRegisterDownloadImage
- addNVImage
- addClearImage
- addSymbol
- addClearSymbol
- addShowClock
- addCommand
- setReceiveEventListener
- Keyboard class
- POSKeyboard class
- BarcodeScanner class
- MSR class
- SimpleSerial class
- GermanyFiscalElement class
- OtherPeripheral class
- CommBox class
- Common to all classes
- Discovery class
- Epos2Exception class
- Log class
- EasySelect class
- EasySelectInfo class
- Appendix
- Status list
- Key code list
- List of Supported Classes
- List of Supported APIs
- Printer-specific Support Information
- TM-m10
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m30III
- TM-m30III-H
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-T20
- TM-T20II
- TM-T20III
- TM-T20IIIL
- TM-T20IV-L
- TM-T20X
- TM-T20X-II
- TM-T60
- TM-T70
- TM-T70II
- TM-T81II
- TM-T81III
- TM-T82
- TM-T82II
- TM-T82III
- TM-T82IIIL
- TM-T82IV-L
- TM-T82X
- TM-T82X-II
- TM-T83II
- TM-T83III
- TM-T83IV
- TM-T88V
- TM-T88VI
- TM-T88VII
- TM-T100
- TM-L90 Liner-Free Label Printer Model
- TM-L100
- TM-U220
- TM-U330
- EU-m30
- TM-P20
- TM-P20II
- TM-P60 (Receipt)
- TM-P60 (Peeler)
- TM-P60II (Receipt)
- TM-P60II (Peeler)
- TM-P80
- TM-P80II
- TM-H6000V
- TM-T20II-i
- TM-T70-i
- TM-T82II-i
- TM-T83II-i
- TM-T88V-i
- TM-T88VI-iHUB
- TM-U220-i
- TM-T70II-DT
- TM-T70II-DT2
- TM-T88V-DT
- TM-T88VI-DT2
- TM-H6000IV-DT
- TM-T88IV
- TM-T90
- TM-L90
- TM-H6000IV