Select your printer model

Parameters are refined by the selected printer.

getStatus


Acquires the current status information.

Syntax

 
public HybridPrinterStatusInfo getStatus ()

Return value

The current status is returned in the HybridPrinterStatusInfo 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

HybridPrinter.TRUE

Connected

HybridPrinter.FALSE

Disconnected

online:

Online status

HybridPrinter.TRUE

Online

HybridPrinter.FALSE

Offline

HybridPrinter.UNKNOWN

Status is unknown.

coverOpen:

Cover status

HybridPrinter.TRUE

Cover is open.

HybridPrinter.FALSE

Cover is closed.

HybridPrinter.UNKNOWN

Status is unknown.

paper:

Paper status

HybridPrinter.PAPER_OK

Paper remains.

HybridPrinter.PAPER_NEAR_END

Paper is running out.

HybridPrinter.PAPER_EMPTY

Paper has run out.

HybridPrinter.UNKNOWN

Status is unknown.

paperFeed:

Paper feed

HybridPrinter.TRUE

Paper feed in progress

HybridPrinter.FALSE

Stopped

HybridPrinter.UNKNOWN

Status is unknown.

panelSwitch:

Panel switch (Feed button) status

HybridPrinter.SWITCH_ON

Pressed

HybridPrinter.SWITCH_OFF

Not pressed

HybridPrinter.UNKNOWN

Status is unknown.

drawer:

Drawer kick connector pin No.3 status

HybridPrinter.DRAWER_HIGH

High

HybridPrinter.DRAWER_LOW

Low

HybridPrinter.UNKNOWN

Status is unknown.

errorStatus:

Error status

HybridPrinter.NO_ERR

Normal

HybridPrinter.MECHANICAL_ERR

Mechanical error occurred.

HybridPrinter.AUTOCUTTER_ERR

Auto cutter error occurred.

HybridPrinter.UNRECOVER_ERR

Unrecoverable error occurred.

HybridPrinter.AUTORECOVER_ERR

Automatic recovery error occurred.

HybridPrinter.UNKNOWN

Status is unknown.

autoRecoverError:

Automatic recovery error status

HybridPrinter.HEAD_OVERHEAT

Head overheat error

HybridPrinter.MOTOR_OVERHEAT

Motor driver IC overheat error

HybridPrinter.WRONG_PAPER

Paper error

HybridPrinter.COVER_OPEN

Cover is open.

HybridPrinter.UNKNOWN

Status is unknown.

insertionWaiting:

Paper insertion wait status

HybridPrinter .INSERTION_WAIT_SLIP

Waiting for slip sheet insertion

HybridPrinter .INSERTION_WAIT_VALIDATION

Waiting for validation sheet insertion

HybridPrinter.INSERTION_WAIT_MICR

Waiting for slip sheet insertion

HybridPrinter.INSERTION_WAIT_NONE

Not waiting for paper insertion

HybridPrinter.UNKNOWN

Status is unknown.

removalWaiting:

Paper removal wait status

HybridPrinter.REMOVAL_WAIT_PAPER

Waiting for paper removal

HybridPrinter.REMOVAL_WAIT_NONE

Not waiting for paper removal

HybridPrinter.UNKNOWN

Status is unknown.

slipPaper:

Status of paper conveyance route for the slip mechanism

HybridPrinter.SLIP_PAPER_OK

Paper remains.

HybridPrinter.SLIP_PAPER_EMPTY

Paper has run out.

HybridPrinter.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 "Hybrid-Printer.UNKNOWN."
  • The status object is set to the status at the timing of execution of this API and will not be updated.
  • When a head overheat error occurs, HybridPrinter.UNKNOWN may be returned in autoRecoverError.
  • HybridPrinter.INSERTION_WAIT_SLIP in insertionWaiting does not distinguish between slip sheet insertion for slip printing and endorsement printing.
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

Epson ePOS SDK includes patented or patent pending functions. The contents must not be disclosed to third parties.


Epson ePOS SDK for Android

Jump to the top