Select your printer model

Parameters are refined by the selected printer.

onkeypress event


Receives the key press event.

Syntax

 
Function(data);

Parameters of callback function

Parameter: data

Object type: Object

Properties of data object

Property

Description

Object type

keycode

Key code

Number

ascii

The character corresponding to the key code

String

Supplementary explanation

  • When no character corresponds to the specified key code, undefined is set in ascii.
  • Depending on the keyboard used, double-byte characters may be included in ascii.
 

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