Select your printer model

Parameters are refined by the selected printer.

<type>onkeypress</type>


Acquires data input from the keyboard and notifies the application of it.

Response

Child element

Data type

Description

keycode

int

Decimal value of a key code entered from the keyboard.

ascii

string

Character generated from the key code.

Sample program

 
<data>
	<type>onkeypress</type>
	<keycode>49</keycode>
	<ascii>a</ascii>
</data>

Supplementary explanation

  • Refer to List of KeyCode for details of the key code.
  • Depending on the pressing status of the Shift key, a converted character such as an upper case character or symbol is passed to the child element ascii.
  • Depending on the keyboard used, double-byte characters may be included in ascii.
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ePOS-Device XML includes patented or patent pending functions. The contents must not be disclosed to third parties.


ePOS-Device XML

Jump to the top