Epson TM-T20II-i TM-i Series WebConfig API Users Manual for TM-i firmware ver. - Page 11
Response Body Format, Referring to the Set Values of a TM-i
View all Epson TM-T20II-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 11 highlights
Chapter 2 Response Body Format Response Body Format An application can specify the format for the response body to be returned when using GET or POST for a TM-i. Referring to the Set Values of a TM-i An application (e.g. javascript or excel macro) can refer to the set values of a TM-i by executing GET for the following URL: http://%IP Address%/PrinterConfigurationPage/%SettingUrl%?format=[html | xml | json | ini] For TM-i firmware Ver. 4.x or later, use the following URL. http://%IP Address%/webconfig/%SettingUrl%?format=[html | xml | json | ini] ❏ IP Address : The IP address of the TM-i whose set values to be acquired 2 ❏ SettingUrl : The URL of the set values to be acquired ❏ format html : Specifies the format of the response body to be returned by the TM-i : HTML format (the same operation as the operation performed when viewing EPSON TMNet WebConfig by using a browser) xml : XML format json : JSON format ini : ini format • If a password is set for EPSON TMNet WebConfig/ WebConfig API, at the time of access to the above URL, the user name (epson-specific) and password strings will be requested through digest authentication. • For SettingUrl and values, refer to Chapter 3 "Reference". • To use WebConfig API from XmlHttpRequest in javascript, register the Web page where the javascript code is written, to the TM-i as Web contents. 11