Epson TM-T88VII Technical Reference Manual page 132

Table of Contents

Advertisement

Acquiring the configuration script from the printer using an HTTP request
A response for the json format is acquired using the GET method for the HTTP request.
Request
Table 3 Request Header
Request header: Content-Type: text/plain; charset=utf-8
http://(printer IP address)/webconfig/beacon.cgi?Type=(one of the following Table 4 Types)
Table 4 Types
Type
(none)
current
volatile
static
default
status
Response
Table 5 Response Header
Content-Type: application/json; charset=utf-8
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, HEADER
Access-Control-Allow-Headers: Content-Type, Content-Length, Authorization
X-Content-Type-Options: nosniff
X-XSS-protection: 1; mode=block
X-Frame-Options: deny
Content-Security-Policy: default-src 'none'
WWW-Authenticate: Digest realm="<IPaddr>", nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", qop="auth"
Table 6 Response
Function
Acquires the configuration script
currently enabled
Acquires the configuration script
on the RAM
Acquires the configuration script
on the ROM
Acquires the Default
configuration script
If a Type is left out, the same operation is performed as when current is specified.
Specifies the currently enabled configuration script.
Specifies the configuration script stored in RAM.
Specifies the configuration script stored in ROM.
Specifies the default configuration script.
Acquires information for the
GET Parameter
Type=current
Acquisition successful
Or no Type is set
Type=volatile
Acquisition successful
Acquisition failed (No file)
Type=static
Acquisition successful
Acquisition failed (No file)
Type=default
Acquisition successful
Description
adapter.
Results
200 OK
200 OK
404 Not Found
200 OK
404 Not Found
200 OK
Appendix
Response
132

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents