48
Request (Printing Result)
TM intelligent printer sends a HTTP POST request (printing result) shown below after printing.
The application can check the printing result (if printing is properly finished) and the printer status by
analyzing request data.
Check the <response> tag for the printing result.
Parameter Value
ConnectionType SetResponse
ID The ID set with WebConfig (p. 27)
ResponseFile Printing result
1 : HTTP Request (Print request)
2.2 : HTTP Response (Print request)
6.2 : HTTP Response (Printing Result)
5 : HTTP Request (Printing Result)
2.1 : Create XML from a
database or other system
6.1 : Register printing result to a
database or other system
3 : Create print data
4 : Print
TM Intelligent Printer
Web Server
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
<?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>
<response>tag