Epson TM-DT Series User Manual page 51

Server direct print
Table of Contents

Advertisement

❏ <PrintRequestInfo Version="2.00"> Example of a failure
<?xml version="1.0" encoding="utf-8"?>
<PrintResponseInfo Version="2.00">
<ePOSPrint>
<Parameter>
<devid>local_printer</devid>
<printjobid>ABC123</printjobid>
</Parameter>
<PrintResponse>
<response xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print" success="false" 
code="EX_BADPORT" status="1" battery="0"/>
</PrintResponseInfo>
</ePOSPrint>
<PrintResponseInfo>
❏ <PrintRequestInfo Version="3.00">
In the following example, printer printing was successful but customer display control failed.
<?xml version="1.0" encoding="UTF-8"?>
<PrintResponseInfo Version="3.00">
<ServerDirectPrint>
<Response Success="true"/>
</ServerDirectPrint>
<ePOSPrint>
<Parameter>
<devid>local_printer</devid>
<printjobid>ABC123</printjobid>
</Parameter>
<PrintResponse>
<response xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print" 
success="true" code="" status="251658262" battery="0"/>
</PrintResponse>
</ePOSPrint>
<ePOSDisplay>
<Parameter>
<devid>local_display</devid>
<printjobid>ABC456</printjobid>
</Parameter>
<DisplayResponse>
<response xmlns="http://www.epson-pos.com/schemas/2012/09/
epos-display" success="false" code="EDSP_NOT_FOUND" status="0"/>
</DisplayResponse>
</ePOSDisplay>
</PrintResponseInfo>
Chapter 3
Request and Response
3
51

Advertisement

Table of Contents
loading

Table of Contents