Select your printer model

Parameters are refined by the selected printer.

restart method


Restarts the printer.

Syntax

 
restart(password, callback);

Parameter

password

Value

Description

password

Specify the password set in EPSON TMNet WebConfig as a string.

callback

Value

Description

callback

Specifies a callback function to receive the execution result.

Parameters of callback function

Parameter: data

Object type: Object

Properties of data object

Property

Description

Object type

status

Execution result of restart

String

status

Value

Description

"SUCCESS"

Success

"AUTHENTICATION_ERROR"

Password authentication error

"ACCESS_DENIED"

Restart was tried while shutdown is set to "Not Allowed".

"SYSTEM_ERROR"

System error

Return value

Return value

Description

Object type

sq

Process sequence number

String

Supplementary explanation

  • Required to set the printer shutdown setting to "Allow" by using EPSON TMNet WebConfig. For details, refer to the Technical Reference Guide of the printer.
  • When password authentication is set to "Required" in EPSON TMNet WebConfig shutdown setting, authenticate with the password as a specified string.
 

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 JavaScript

Jump to the top