Select your printer model

Parameters are refined by the selected printer.

forceReset


Forcibly sends the printer reset command.

The processing result of the devices using this API is notified to the listener method set by the setReceiveEventListener API of the HybridPritner class.

Syntax

 
public void forceReset(int timeout) throws Epos2Exception

Parameter

timeout

Specifies the timeout period before completion of command transmission in milliseconds.

Value

Description

0 to 600000

Timeout period (in milliseconds)

HybridPrinter.PARAM_DEFAULT

Specifies the default value (10000).

Exception

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

Error status

Description

ERR_CONNECT

Communication failed.

ERR_PARAM

An invalid parameter was specified.

ERR_MEMORY

Necessary memory could not be allocated.

ERR_FAILURE

An unknown error occurred.

ERR_PROCESSING

Could not run the process.

Supplementary explanation

  • For TM-H6000V, the “Command execution during offline” setting must be enabled.
    Refer to TM-H6000V Utility User’s Manual for more information.
  • Available during ePOS-Device XML control.
 

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