Epson TM-DT Series User Manual page 49

Server direct print
Table of Contents

Advertisement

<PrintRequestInfo Version="3.00">
The printer confirms the data when it receives an HTTP response (print request).
If the data contains an error, a different request message than usual is sent.
The <ServerDirectPrint> tag contains the confirmation result for the HTTP response (print request) XML data.
If the HTTP response (print request) XML data contains an error, the structure of the request (printing result)
varies.
❏ When the HTTP response (print request) XML data is normal:
In the <PrintResponseInfo> tag, the <ServerDirectPrint> tag, <ePOSPrint> tag, and <ePOSDisplay> tag are
created.
The confirmation result of the HTTP response (print request) XML data is described in the <Response> tag
in the <ServerDirectPrint> tag.
The <response> tag is created in the <PrintResponse> tag in the <ePOSPrint> tag, and details of the print-
ing result are described there.
The <response> tag is created in the <DisplayResponse> tag in the <ePOSDisplay> tag, and details of the
customer display control result are described.
<
> tag
PrintResponseInfo
<Response> tag
<ePOSPrint> tag
<PrintResponse> tag
<response> tag
<DisplayResponse> tag
<response> tag
<?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
49

Advertisement

Table of Contents
loading

Table of Contents