Select your printer model

Parameters are refined by the selected printer.

interval


Updates the printer status (Printer.EVENT_POWER_OFF event) and specifies a notification interval. <obsolete>

Syntax

Setter

 
public void setInterval (int interval) throws Epos2Exception

Getter

 
public int getInterval ()

Value

Updates the printer status (Printer.EVENT_POWER_OFF event) and specifies a notification interval. The default value is 3,000.

Value

Description

Integer from 1000 to 60000

Interval to update the printer status (in milliseconds).

Printer.PARAM_DEFAULT

Specifies the default value (3000).

Exception

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

Error status

Description

ERR_PARAM

An invalid parameter was passed.

Supplementary explanation

Events other than Printer.EVENT_POWER_OFF are updated and notified at an interval of less than 1 second. The update interval cannot be changed.

 

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