Select your printer model

Parameters are refined by the selected printer.

send method


Sends data to the communication box.

Syntax

 
send(message, memberId, callback);

Parameter

message

Value

Description

message

Specifies data to send.

memberId

Value

Description

memberId

Specifies the member ID of the receiver.

callback

Specifies a callback function to receive the execution result of the send method.

One of the following strings is passed to the first parameter to indicate the result.

String

Description

"OK"

Message transmission succeeded.

"NOT_OPENED"

Communication box is not open.

"MEMBER_NOT_FOUND"

Specified member cannot be found.

"SYSTEM_ERROR"

An unknown error occurred.

The number of clients which tried data transmission is passed to the second parameter and a sequence number which is same as the return value is passed to the second parameter.

Return value

Return value

Description

Object type

sq

Process sequence number

String

Supplementary explanation

When null or "" (blank character) is specified in member Id, data is sent to all the members other than the sender.

 

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