Select your printer model

Parameters are refined by the selected printer.

<type>onstring</type>


Acquires a detected string starting with any of the key codes specified by the <type>setprefix</type> element and ending with the Enter key, and notifies the application of it. The acquired data also includes the detected key code information.

Response

Child element

Data type

Description

input

string

Detected string

prefix

int

Key code recognized as the start of a string

Sample program

 
<data>
	<type>onstring</type>
	<input>&amp;2398749238429</input>
	<prefix>49</prefix>
</data>

Supplementary explanation

  • The key code that is recognized as the start of the string is not included in the string acquired by the input child element.
  • Even if pressing of the Enter key is not detected, string is notified to the application when the number of detected characters exceeds 160.
  • Refer to List of KeyCode for details of the key code.
 

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