Epson TM-T20II-i Device Data Notification Users Manual - Page 24

Response (Device Control Execution Result

Page 24 highlights

Response (Device Control Execution Result) Input Device TM Intelligent Printer 1 : Data input occurs Web server 1.1 : HTTP Request (Input Data) HTTP Response (Device Control) 1.1.1 : Create XML from a database or other system 2 : Device Control Execution 3 : HTTP Request (Device Control Execution Result) HTTP Response (Device Control) 3.1 : Register control result to a database or other system The Web server application creates response data to a HTTP request (Device Control Execution Result) and returns it to the TM intelligent printer. For the responses, refer to "Response to Disable Device Control" (p.24). Response to Disable Device Control When no device control is required, notifies that there is no device control data by returning the response as shown below to a HTTP request from the TM intelligent printer. Refer to Test_DeviceData.php in the sample program. HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: 0 24

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24

24
Response (Device Control Execution Result)
The Web server application creates response data to a HTTP request (Device Control Execution Result) and
returns it to the TM intelligent printer. For the responses, refer to
"Response to Disable Device Control" (p.24)
.
Response to Disable Device Control
When no device control is required, notifies that there is no device control data by returning the response as
shown below to a HTTP request from the TM intelligent printer.
Refer to Test_DeviceData.php in the sample program.
TM Intelligent Printer
Input Device
Web server
1 : Data input occurs
2 : Device Control Execution
1.1 : HTTP Request
(Input Data)
3 : HTTP Request
(Device Control Execution Result)
1.1.1 : Create XML from a
database or
other system
3.1 : Register control result
to a database or
other system
HTTP Response
(Device Control)
HTTP Response
(Device Control)
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 0