Format Of The Response Message - Epson TM-DT Series User Manual

Server direct print
Table of Contents

Advertisement

Format of the response message

Basic Structure
The structure is different depending on the <PrintRequestInfo> version.
<PrintRequestInfo Version="1.00">
When no version for the <PrintRequestInfo> tag is specified, the same structure as with <PrintRequestInfo
Version="1.00"> is applied.
Create the <ePOSPrint> tag for each print request.
The <ePOSPrint> tag consists of the following tags:
❏ <Parameter> tag:
❏ <PrintData> tag:
<PrintRequestInfo> tag
<ePOSPrint> tag
Print request 1
<ePOSPrint> tag
Print request 2
Note: Enclosing the <ePOSPrint> tag in the <PrintRequestInfo> tags enables sending multiple print
requests to the printer.
For details, see
"<Parameter> Tag"
For details, see
"<PrintData> Tag"
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: xxx
<?xml version="1.0" encoding="utf-8"?>
<PrintRequestInfo Version="1.00">
<ePOSPrint>
<Parameter>
<devid>local_printer</devid>
<timeout>10000</timeout>
</Parameter>
<PrintData>
.
.
.
</PrintData>
</ePOSPrint>
<ePOSPrint>
<Parameter>
<devid>local_printer</devid>
<timeout>10000</timeout>
</Parameter>
<PrintData>
.
.
.
</PrintData>
</ePOSPrint>
</PrintRequestInfo>
Chapter 3
Request and Response
(p.42).
(p.42).
<Parameter> tag
<PrintData> tag
Print data
3
39

Advertisement

Table of Contents
loading

Table of Contents