Epson TM-T20II-i Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 32

Request (Printing Result), Format of the request message

Page 32 highlights

Request (Printing Result) TM intelligent printer sends a HTTP POST request (printing result) shown below after printing. TM Intelligent Printer Web Server 1 : HTTP Request (Print request) 2.2 : HTTP Response (Print request) 2.1 : Create XML from a database or other system 3 : Create print data 4 : Print 5 : HTTP Request (Printing Result) 6.2 : HTTP Response (Printing Result) 6.1 : Register printing result to a database or other system The application can check the printing result (if printing is properly finished) and the printer status by analyzing request data. If communication fails, it is attempted again after a specified interval. Format of the request message 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 Parameter ConnectionType ID ResponseFile Value SetResponse The ID set with WebConfig (p. 21) Printing result 32

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48

32
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.
If communication fails, it is attempted again after a specified interval.
Format of the request message
Parameter
Value
ConnectionType
SetResponse
ID
The ID set with WebConfig (
p. 21
)
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