Epson TM-T20II-i Server Direct Print Users Manual for TM-i firmware ver.4.1 - Page 27
Request and Response, Request (Print Request
![]() |
View all Epson TM-T20II-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 27 highlights
Chapter 3 Request and Response Request and Response This chapter describes requests from the TM intelligent printer and responses from the Web server. User's application can start printing by returning a response containing print data to a HTTP POST request (print request) from the printer. It can also check if printing is properly finished by analyzing a HTTP POST request (print request) from the printer. Request (Print Request) This section describes the request (print request) from the TM-i. TM Intelligent Printer Web Server 1 : HTTP Request (Print request) 2.1 : Create XML from a database or other system 3 2.2 : HTTP Response (Print request) TM intelligent printer periodically sends a HTTP POST request (print request) shown below. The format of request message is URL-encoded form data (application/x-www-form-urlencoded). Set the sending destination and sending interval according to "Server Direct Print Settings" (p. 21). If communication fails, it is attempted again after a specified interval. Parameter ConnectionType ID Value GetRequest The ID set with WebConfig (p. 21) Header POST /demo/Test_print.php HTTP/1.1 Host: 192.168.192.10 Content-Type: application/x-www-form-urlencoded Content-Length: 29 ConnectionType=GetRequest&ID= 27
![](/manual_guide/products/epson-tmh6000ivdt-server-direct-print-user-s-manual-tmi-firmware-ver41-d04f5e8/27.png)