Select your printer model

Parameters are refined by the selected printer.

<type>oncommandreply</type>


Acquires the response data to the command sent by the <type>sendcommand</type> element and notifies the application of it.

Response

Child element

Data type

Description

status

string

Data reception status

data

string

Command string

status

Element value

Description

“SUCCESS”

Data reception succeeded.

Sample program

 
<data>
	<type>oncommandreply</type>
		<status>SUCCESS</status>
		<data>1B123344FF1F5D3C</data>
</data>

Supplementary explanation

  • Since data from the device may be divided into multiple responses, be sure to use the <type>oncommandreply</type> element to confirm that the entire response data has been received.
    If data is divided into multiple responses, the <type>oncommandreply</type> element occurs several times. Wait for the succeeding data before proceeding with the process.
  • When a communication error occurs, communication disconnection is not notified.
    To notify the disconnection event, implement the <reconnect>.
 

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