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

Response (Device Use Rights Acquisition Result Notification), TM Intelligent Printer, Input Device

Page 20 highlights

Response (Device Use Rights Acquisition Result Notification) Input Device TM Intelligent Printer 1 : Device Use Rights Acquisition Web server 2 : HTTP Request OK (Device Use Rights Acquisition Result Notification) 2.1 : Create XML from a HTTP Response (Device Control) database or other system The Web server application creates response data as shown below to a HTTP request (Device Use Rights Acquisition Result Notification) and returns it to the TM intelligent printer. This data contains device control data. The format of response message is ePOS-Device XML(text/xml). HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: xxx local_keyboard setprefix . . \0 * For the tag, be sure to end the message with "\0". When no device control is required, refer to "Response to Disable Device Control" (p.24). 20

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

20
Response (Device Use Rights Acquisition Result Notification)
The Web server application creates response data as shown below to a HTTP request (Device Use Rights
Acquisition Result Notification) and returns it to the TM intelligent printer. This data contains device control
data.
The format of response message is ePOS-Device XML(text/xml).
When no device control is required, refer to
"Response to Disable Device Control" (p.24)
.
OK
TM Intelligent Printer
Input Device
Web server
1 : Device Use Rights Acquisition
2 : HTTP Request
(Device Use Rights Acquisition
Result Notification)
2.1 : Create XML from a
database or
other system
HTTP Response
(Device Control)
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: xxx
<device_data>
<device_id>local_keyboard</device_id>
<data>
<type>setprefix</type>
.
.
</data>
</device_data>\0
* For the <device_data> tag, be sure to end the message with "\0".