Users Manual - WebConfig API
Page 10
This is sent to the printer by using the following URLs: Used to acquire all data: https:///webconfig/api/v1/webconfig.cgi?keyname=,... There are Sent to configure the printer. "StatusNotification": { "Active": "OFF", "ID": "", "Interval": "5", "Name": "" "Password": "(Not registered)", "Url": "", "UseProxy": "OFF", "UseServerAuthentication": "OFF", "UseUrlEncode": "ON" ... } "message" : "Success" }, ... Settings are two setting methods: You can specify only the value of the specified key or you can edit the JSON data acquired by the PUT method. Specify the key and value, see...
This is sent to the printer by using the following URLs: Used to acquire all data: https:///webconfig/api/v1/webconfig.cgi?keyname=,... There are Sent to configure the printer. "StatusNotification": { "Active": "OFF", "ID": "", "Interval": "5", "Name": "" "Password": "(Not registered)", "Url": "", "UseProxy": "OFF", "UseServerAuthentication": "OFF", "UseUrlEncode": "ON" ... } "message" : "Success" }, ... Settings are two setting methods: You can specify only the value of the specified key or you can edit the JSON data acquired by the PUT method. Specify the key and value, see...
Users Manual - WebConfig API
Page 11
After acquiring a PUT method response, the printer is reset in order to the printer does not change actual values on the printer. https:///webconfig/api/v1/webconfig.cgi Acquire a specific key https:// Chapter 1 Overview Reset the Printer Simply sending setting values to apply any changes. The printer needs to be reset for changes to be applied.
After acquiring a PUT method response, the printer is reset in order to the printer does not change actual values on the printer. https:///webconfig/api/v1/webconfig.cgi Acquire a specific key https:// Chapter 1 Overview Reset the Printer Simply sending setting values to apply any changes. The printer needs to be reset for changes to be applied.
Users Manual - WebConfig API
Page 13
Allow-Origin: domain communication if communication sources ● ● ● ● are also supported. 2 Response The following content is included in the header for permitting cross- Communicates the allowable methods of Allow-Headers: ● ● ● ● cross-domain communication. Response Header Header HTTP Method GET PUT HEAD OPTIO NS Description Value Content-Type: - ● ● ● ● application/json; Communicates the allowable request headers of cross- Specify "*" in the response. PUT, GET, OPTIONS, HEAD ...
Allow-Origin: domain communication if communication sources ● ● ● ● are also supported. 2 Response The following content is included in the header for permitting cross- Communicates the allowable methods of Allow-Headers: ● ● ● ● cross-domain communication. Response Header Header HTTP Method GET PUT HEAD OPTIO NS Description Value Content-Type: - ● ● ● ● application/json; Communicates the allowable request headers of cross- Specify "*" in the response. PUT, GET, OPTIONS, HEAD ...
Users Manual - WebConfig API
Page 14
mode=block Prevents clickjacking attacks. The request body is completed normally. These are returned from the printer. Capable of preventing script execution of attacks including cross-site scripting (XSS) and data injec- ● ● ● tion attacks. For details of these return values, see "PUT method" on page 16. C o n t e n t -Ty p e Options: ● X-XSS-protection: ● X-Frame-Options: ● Content-SecurityPolicy: ● WWW-Authenticate: ● HTTP Method Description PUT HEAD OPTIO NS Value Prevents the browser from identifying JSON ...
mode=block Prevents clickjacking attacks. The request body is completed normally. These are returned from the printer. Capable of preventing script execution of attacks including cross-site scripting (XSS) and data injec- ● ● ● tion attacks. For details of these return values, see "PUT method" on page 16. C o n t e n t -Ty p e Options: ● X-XSS-protection: ● X-Frame-Options: ● Content-SecurityPolicy: ● WWW-Authenticate: ● HTTP Method Description PUT HEAD OPTIO NS Value Prevents the browser from identifying JSON ...
Users Manual - WebConfig API
Page 20
GET request example (key specification) Request Request Header GET /webconfig/api/v1/webconfig.cgi?keyname=StatusNotification,ServerDirectPrint HTTP/1.1 Host: Authorization: Digest username="epson", realm="ByPassword", nonce="", uri="/webconfig/api/v1/webconfig.cgi", response="f708199215ba938f85ae77c373c192c2", opaque="" Request Body is an example of StatusNotification and ServerDirectPrint settings. Example of modification ...
GET request example (key specification) Request Request Header GET /webconfig/api/v1/webconfig.cgi?keyname=StatusNotification,ServerDirectPrint HTTP/1.1 Host: Authorization: Digest username="epson", realm="ByPassword", nonce="", uri="/webconfig/api/v1/webconfig.cgi", response="f708199215ba938f85ae77c373c192c2", opaque="" Request Body is an example of StatusNotification and ServerDirectPrint settings. Example of modification ...
Users Manual - WebConfig API
Page 21
Chapter 2 Web API Specification PUT request example (key specification) Request Request Header PUT /webconfig/api/v1/webconfig.cgi HTTP/1.1 Authorization: Digest username="epson", realm="ByPassword", nonce="", uri="/webconfig/api/v1/webconfig.cgi", response="0a3e57cca43d8221d942d13aeb377658", opaque="" Content-Type: application/json Response Body { "Setting": { "ServerDirectPrint": { "Active": "OFF", "CutReserveTimeout": "2", "ID": "", "Interval1": "5", "...
Chapter 2 Web API Specification PUT request example (key specification) Request Request Header PUT /webconfig/api/v1/webconfig.cgi HTTP/1.1 Authorization: Digest username="epson", realm="ByPassword", nonce="", uri="/webconfig/api/v1/webconfig.cgi", response="0a3e57cca43d8221d942d13aeb377658", opaque="" Content-Type: application/json Response Body { "Setting": { "ServerDirectPrint": { "Active": "OFF", "CutReserveTimeout": "2", "ID": "", "Interval1": "5", "...
Users Manual - WebConfig API
Page 24
...TM-T88VI/ TM-T88VI-iHUB. and "-". Specify the printer model name. Characters that can be used are single-byte alphanumeric characters (0 to 9, a to z, A to 30 characters. Characters that can be used are single-byte alphanumeric characters (0 to 9, a to z, A to Z), "_", "." Setting for "local_printer" or the printer. "127.0.0.1" Specify the printer model name. The IP address...be any duplicate IPAddress for another DeviceID. "TM-T88VI" Network printer The ID for the key input device. The ID for another DeviceID. String in IPv4 address format. %A: 1 to 223 %B: 0 ...
...TM-T88VI/ TM-T88VI-iHUB. and "-". Specify the printer model name. Characters that can be used are single-byte alphanumeric characters (0 to 9, a to z, A to 30 characters. Characters that can be used are single-byte alphanumeric characters (0 to 9, a to z, A to Z), "_", "." Setting for "local_printer" or the printer. "127.0.0.1" Specify the printer model name. The IP address...be any duplicate IPAddress for another DeviceID. "TM-T88VI" Network printer The ID for the key input device. The ID for another DeviceID. String in IPv4 address format. %A: 1 to 223 %B: 0 ...
Users Manual
Page 18
... high reliability/safety, such as transportation devices related to including fail-safes and redundancies into your printer's IP address. For information of their respective owners and used in the above URL, input your design to Epson proprietary software. http://xxx.xxx.xxx.xxx/licenses/ For "xxx.xxx.xxx.xxx" in this product's suitability...
... high reliability/safety, such as transportation devices related to including fail-safes and redundancies into your printer's IP address. For information of their respective owners and used in the above URL, input your design to Epson proprietary software. http://xxx.xxx.xxx.xxx/licenses/ For "xxx.xxx.xxx.xxx" in this product's suitability...
Users Manual - Server Direct Print
Page 8
Difference from General Printing System In general printing systems, the application sends a print instruction to the Web application, and the Web application returns a response that has print data included in it. With Server Direct Print, the printer sends an Inquiry of print request to the printer. General Printing Server Direct Print Computer Application Specifies a printer Print layout data TM Printer Print data Web Server Application Global IP Address TM printers with SDP support 8
Difference from General Printing System In general printing systems, the application sends a print instruction to the Web application, and the Web application returns a response that has print data included in it. With Server Direct Print, the printer sends an Inquiry of print request to the printer. General Printing Server Direct Print Computer Application Specifies a printer Print layout data TM Printer Print data Web Server Application Global IP Address TM printers with SDP support 8
Users Manual - Server Direct Print
Page 23
...) 2 Save the sample program files in the computer. 2. Configure the network settings such as SSID, IP address, DHCP and allocated IP address. Network Settings Configure the network settings such as IP address to the TM printer to the printer by using EPSON TMNet WebConfig from a Web browser on the setup computer. For details, see the manual for each...
...) 2 Save the sample program files in the computer. 2. Configure the network settings such as SSID, IP address, DHCP and allocated IP address. Network Settings Configure the network settings such as IP address to the TM printer to the printer by using EPSON TMNet WebConfig from a Web browser on the setup computer. For details, see the manual for each...
Users Manual - Server Direct Print
Page 24
... Proxy server setting) Register the TM Printers (Device ID, IP Address) ❏ TM-DT series (p. 30) IP Address Setting Initial OS Settings Initializing the ePOS-Device Service Startup Settings Server Direct Print Setting Register the TM Printers (Device ID, IP Address) ❏ TM-T88VI, TM-T88VI-iHUB (p. 33) IP Address Setting Server Direct Print Setting ...
... Proxy server setting) Register the TM Printers (Device ID, IP Address) ❏ TM-DT series (p. 30) IP Address Setting Initial OS Settings Initializing the ePOS-Device Service Startup Settings Server Direct Print Setting Register the TM Printers (Device ID, IP Address) ❏ TM-T88VI, TM-T88VI-iHUB (p. 33) IP Address Setting Server Direct Print Setting ...
Users Manual - Server Direct Print
Page 26
... the setup computer and enter as follows: For TM-i Firmware Ver.4.0 or later http:///webconfig/ For TM-i Firmware Ver.3.x or earlier http:///PrinterConfigurationPage/ 2 EPSON TMNet WebConfig starts. TM printers with SDP support Settings ❏ TM-i series (p. 26) ❏ TM-DT series (p. 30) ❏ TM-T88VI, TM-T88VI-iHUB (p. 33) TM-i Series Settings ❏ IP Address Setting ❏ Server Direct Print Setting : Refer to...
... the setup computer and enter as follows: For TM-i Firmware Ver.4.0 or later http:///webconfig/ For TM-i Firmware Ver.3.x or earlier http:///PrinterConfigurationPage/ 2 EPSON TMNet WebConfig starts. TM printers with SDP support Settings ❏ TM-i series (p. 26) ❏ TM-DT series (p. 30) ❏ TM-T88VI, TM-T88VI-iHUB (p. 33) TM-i Series Settings ❏ IP Address Setting ❏ Server Direct Print Setting : Refer to...
Users Manual - Server Direct Print
Page 27
...Server 1/ Server 2/ Click the [Access Test] to identify TM-i series. For TM-i Firmware Ver.3.x or earlier Item Server Direct Print ID Password URL Interval(s) Description Select the [Enable]. Specify the Test_print.php address of the Web server. Not required for the server-side ...program to check if the address is accessible. Request interval refers to identify TM-i series. The Digest access cannot be passed as ...
...Server 1/ Server 2/ Click the [Access Test] to identify TM-i series. For TM-i Firmware Ver.3.x or earlier Item Server Direct Print ID Password URL Interval(s) Description Select the [Enable]. Specify the Test_print.php address of the Web server. Not required for the server-side ...program to check if the address is accessible. Request interval refers to identify TM-i series. The Digest access cannot be passed as ...
Users Manual - Server Direct Print
Page 29
...) Set the timeout retry interval. Chapter 2 Sample Program Registration of TM Printer Register the device ID and IP address of TM-i printer can be deleted from the device. • The device ID of the controlled TM printer to check if the registered printer operates properly. 29 Use EPSON TMNet WebConfig to register the device ID. •...
...) Set the timeout retry interval. Chapter 2 Sample Program Registration of TM Printer Register the device ID and IP address of TM-i printer can be deleted from the device. • The device ID of the controlled TM printer to check if the registered printer operates properly. 29 Use EPSON TMNet WebConfig to register the device ID. •...
Users Manual - Server Direct Print
Page 30
... content Server direct print Status notification Description Sets whether to use EPSON TMNet WebConfig and the following procedure. 1 Start EPSON TMNet WebConfig from an external device, set the TM-DT series IP address in the address for the Web browser. Item Device control Automatic update of TM Printer : p. 32 Service startup settings To make service startup settings...
... content Server direct print Status notification Description Sets whether to use EPSON TMNet WebConfig and the following procedure. 1 Start EPSON TMNet WebConfig from an external device, set the TM-DT series IP address in the address for the Web browser. Item Device control Automatic update of TM Printer : p. 32 Service startup settings To make service startup settings...
Users Manual - Server Direct Print
Page 31
...the next communication. 31 Chapter 2 Sample Program Server Direct Print Settings Configure the Server Direct Print settings using EPSON TMNet WebConfig. 1 EPSON TMNet WebConfig starts. For TM-DT Software Ver.2.6 or earlier Item ID Password URL Interval (sec.) Description Set ID for the server-...side program to check if the address is accessible. Set your password used for the sample program. For TM-DT Software Ver.2.5 ...
...the next communication. 31 Chapter 2 Sample Program Server Direct Print Settings Configure the Server Direct Print settings using EPSON TMNet WebConfig. 1 EPSON TMNet WebConfig starts. For TM-DT Software Ver.2.6 or earlier Item ID Password URL Interval (sec.) Description Set ID for the server-...side program to check if the address is accessible. Set your password used for the sample program. For TM-DT Software Ver.2.5 ...
Users Manual - Server Direct Print
Page 32
... operates properly. 32 Use EPSON TMNet WebConfig to the network and power on. 2 EPSON TMNet WebConfig starts. Select [Settings]-[Web service settings]-[Device Admin]-[Device registration]-[Printer]. 3 The "Printer" screen appears. Set the following procedure for registration. 1 Connect all TM printers to register the device ID. Set the printer IP address for the controlled printer.
... operates properly. 32 Use EPSON TMNet WebConfig to the network and power on. 2 EPSON TMNet WebConfig starts. Select [Settings]-[Web service settings]-[Device Admin]-[Device registration]-[Printer]. 3 The "Printer" screen appears. Set the following procedure for registration. 1 Connect all TM printers to register the device ID. Set the printer IP address for the controlled printer.
Users Manual - Server Direct Print
Page 33
... - Update Interval - Password Set your password used for user IDs without passwords. Set the following settings to TM-T88VI. ❏ IP Address Settings : Refer to enable or disable the URL encode. URL Example: http:///Test_print.php Update Interval Set the...Specifies the Web server URL and the application path. This ID will be authenticated for Digest authentication. Chapter 2 Sample Program TM-T88VI and TM-T88VI-iHUB Settings Configure the following items and click [Set]. Item Description Server Direct Print Enable Server Direct Print. URL - ID...
... - Update Interval - Password Set your password used for user IDs without passwords. Set the following settings to TM-T88VI. ❏ IP Address Settings : Refer to enable or disable the URL encode. URL Example: http:///Test_print.php Update Interval Set the...Specifies the Web server URL and the application path. This ID will be authenticated for Digest authentication. Chapter 2 Sample Program TM-T88VI and TM-T88VI-iHUB Settings Configure the following items and click [Set]. Item Description Server Direct Print Enable Server Direct Print. URL - ID...
Users Manual - Server Direct Print
Page 35
... full stops and hyphens in the printer. 35 Enter between 1 to the network and power on. 3 Starting the TM-T88VI Utility. Item Device ID Model IP Address Description Sets the device ID of the printer to be controlled. Use the following procedure for registration. 1 Connect the ... list. Chapter 2 Sample Program Registration of TM Printer Register the device ID and the IP address of a printer to register. Selects the model of the TM printer to the List. 8 Click the [Set]. Click [Add]. 6 The "Add" window is displayed. Sets the IP address of a printer to register. 7 Adds ...
... full stops and hyphens in the printer. 35 Enter between 1 to the network and power on. 3 Starting the TM-T88VI Utility. Item Device ID Model IP Address Description Sets the device ID of the printer to be controlled. Use the following procedure for registration. 1 Connect the ... list. Chapter 2 Sample Program Registration of TM Printer Register the device ID and the IP address of a printer to register. Selects the model of the TM printer to the List. 8 Click the [Set]. Click [Add]. 6 The "Add" window is displayed. Sets the IP address of a printer to register. 7 Adds ...
Users Manual - Server Direct Print
Page 36
Execution of Sample Program 1 Confirm that the Server Direct Print function is enabled for TM printers with SDP support. 2 Open the sample program page from the TM printers with SDP support, print data is sent and a slip is printed from the printer. 5 resultPrint.log is displayed on the screen. 36 Example: http:///demo/index.html 3 Click [Order Entry]. 4 In response to a request from the TM printers with SDP support and the printing result is created from the printing result sent from the Web browser.
Execution of Sample Program 1 Confirm that the Server Direct Print function is enabled for TM printers with SDP support. 2 Open the sample program page from the TM printers with SDP support, print data is sent and a slip is printed from the printer. 5 resultPrint.log is displayed on the screen. 36 Example: http:///demo/index.html 3 Click [Order Entry]. 4 In response to a request from the TM printers with SDP support and the printing result is created from the printing result sent from the Web browser.