Select your printer model

Parameters are refined by the selected printer.

startMonitor


Enables printer status event notification.

Acquires and updates the printer status at the interval specified with the interval property and notifies it of the listener method registered by setStatusChangeEventListener.

Syntax

 
public void startMonitor() throws Epos2Exception

Exception

When the process fails, Epos2Exception with one of the following error value occurs.

Error status

Description

ERR_ILLEGAL

This API was called while no communication had been started.

Supplementary explanation

  • Use this API after starting a communication with the printer (after executing the connect API).
  • This API is not executed on the main thread. Execute it on the sub-thread.
  • During ESC/POS control, any ASB information items which have been changed during the update iinterval specified by the interval property are reported.
    During ePOS-Device XML control, the ASB information at the time of update is reported.
 

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