Request (Printing Result) - Epson TM-T88V-DT User Manual

Server direct print
Hide thumbs Also See for TM-T88V-DT:
Table of Contents

Advertisement

Request (Printing Result)

TM intelligent printer sends a HTTP POST request (printing result) shown below after printing.
TM Intelligent Printer
The application can check the printing result (if printing is properly finished) and the printer status by
analyzing request data.
Parameter
ConnectionType
ID
ResponseFile
POST /demo/Test_print.php HTTP/1.1
Host: 192.168.192.10
Content-Type: application/x-www-form-urlencoded
Content-Length: xxx
ConnectionType=SetResponse&ID=&ResponseFile=Printing Result
Check the <response> tag for the printing result.
<response>tag
48
1 : HTTP Request (Print request)
2.2 : HTTP Response (Print request)
3 : Create print data
4 : Print
5 : HTTP Request (Printing Result)
6.2 : HTTP Response (Printing Result)
Value
SetResponse
The ID set with WebConfig
Printing result
<?xml version="1.0" encoding="utf-8"?>
<PrintResponseInfo Version="1.00">
#Success
<response xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print"
success="true" code="" status="251854870" battery="0"/>
#Failed
<response xmlns="http://www.epson-pos.com/schemas/2011/03/epos-print"
success="false" code="EX_BADPORT" status="1" battery="0"/>
</PrintResponseInfo>
Web Server
2.1 : Create XML from a
database or other system
6.1 : Register printing result to a
database or other system
(p.
27)

Advertisement

Table of Contents
loading

Table of Contents