Select your printer model

Parameters are refined by the selected printer.

ondata event


Receives card read information from the programmable keyboard with MSR.

Syntax

 
Function(data);

Parameters of callback function

Parameter: data

Object type: Object

Properties of data object

Property

Description

Object type

track1

Entire data for track 1

String

track2

Entire data for track 2

String

track4

Entire data for track 4 (JIS2 track)

String

account_number

Account number

String

expiration_date

Expiration date (YYMM format)

String

surname

Surname

String

first_name

First name

String

middle_initial

Middle name/initial

String

title

Title

String

service_code

Service code

String

track1_dd

Optional data for track 1

String

track2_dd

Optional data for track 2

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