Select your printer model

Parameters are refined by the selected printer.

getCommHistory method


Acquires the transmission history of the communication box.

Syntax

 
getCommHistory(callback);
 
getCommHistory(option, callback);

Parameter

option

Value

Description

true

Acquires the entire transmission history of the communication box.

false

Acquires the transmission history of data sent to the own member ID only.

callback

Specifies the callback function which acquires the transmission history of the communication box.

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

String

Description

"OK"

Transmission history acquired successfully.

"NOT_OPENED"

Communication box is not open.

"SYSTEM_ERROR"

An unknown error occurred.

The following historyList is passed to the second parameter.

historyList.[index]

Description

Object type

senderId

memberID of the sender

String

receiverId

memberID of the receiver

String

message

Received message

Hash

A sequence number which is same as the return value is passed to the third parameter.

Return value

Return value

Description

Object type

sq

Process sequence number

String

Supplementary explanation

false is set to an option omitted.

 

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