Select your printer model

Parameters are refined by the selected printer.

<type>setprefix</type>


Sets a key code which is recognized as the start of a string to accept keyboard input as a sequence of strings.

When the key code specified by the <type>setprefix</type> element is entered, the string after it until the Enter key is pressed can be acquired by the <type>onstring</type> element.

Request

Child element

Data type

Description

keycodes

int

Specifies the key code arrangement.

Sample program

 
<data>
	<type>setprefix</type>
	<keycodes array=”true”>49</keycodes>
	<keycodes>50</keycodes>
	<keycodes>51</keycodes>
	<keycodes>52</keycodes>
</data>

Supplementary explanation

  • Use this element for keyboard input as an alternative to a barcode.
  • To finish character entry, execute the <type>setprefix</type> element without specifying the child element keycodes.
  • 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