Select your printer model

Parameters are refined by the selected printer.

closeCommBox method


Closes the communication box.

The TM-DT software and TM-i firmware delete applications from the member of communication box and the empty communication box will be deleted.

Syntax

 
closeCommBox(commBoxObj, callback);

Parameter

commBoxObj

Value

Description

commBoxObj

Specifies the commBox object to close.

callback

Specifies a callback function to receive the close process result.

One of the following strings is passed to the first parameter to indicate the result and a sequence number which is same as the return value is passed to the second parameter.

String

Description

"OK"

Communication box closed successfully.

"NOT_OPENED"

Communication box is not open.

"PARAMETER_ERROR"

A parameter error occurred.

"SYSTEM_ERROR"

An unknown error occurred.

Return value

Return value

Description

Object type

sq

Process sequence number

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