Select your printer model

Parameters are refined by the selected printer.

<response>


This is an XML document that is sent back from a customer display to an application.

Attribute

success

Attribute value

Description

"true" / "1"

Display succeeded

"false" / "0"

Display failed

code

Attribute value

Description

"EDSP_NOT_FOUND"

The device was not found.

"EDSP_NOT_OPEN"

Failed to open the device.

"EDSP_INVALID_WINDOW"

An unregistered window was specified.

"EDSP_SYSTEM_ERROR"

An unexpected error occurred.

"EDSP_SCHEMA_ERROR"

An XML structural error occurred.

"EX_BADPORT"

An internal communication error with the device occurred.

"EX_TIMEOUT"

A timeout error occurred during communication with the device.

"EX_INVALID_VALUE"

Invalid parameter was detected.

"EDSP_UNRECOVERABLE"

Unrecoverable error occurred.

"EDSP_CUTTER"

Auto cutter error occurred.

"EDSP_MECHANICAL"

Mechanical error occurred.

"EDSP_COVER_OPEN"

Cover open error occurred.

"EDSP_REC_EMPTY"

No paper is left in the roll paper end detector.

"EDSP_AUTOMATICAL"

Automatic recovery error occurred.

status

Attribute value

Description

"0"

Always

Sample program

  • When succeeded
  •  
     <response success="true" code="" status="0"/>
    
  • When failed
  •  
     <response success="false" code="EDSP_NOT_FOUND" status="0"/>
    

Supplementary explanation

When using TM-m30 printer and DM-D30 display, the following codes are not returned.

  • "EDSP_UNRECOVERABLE"
  • "EDSP_CUTTER"
  • "EDSP_MECHANICAL"
  • "EDSP_COVER_OPEN"
  • "EDSP_REC_EMPTY"
  • "EDSP_AUTOMATICAL"
 

Quick Access

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

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


Jump to the top