132
Appendix
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
Table 4 Types
Response
Table 5 Response Header
Table 6 Response
Request header: Content-Type: text/plain; charset=utf-8
http://(printer IP address)/webconfig/beacon.cgi?Type=(one of the following Table 4 Types)
Type
Description
(none)
If a Type is left out, the same operation is performed as when current is specified.
current
Specifies the currently enabled configuration script.
volatile
Specifies the configuration script stored in RAM.
static
Specifies the configuration script stored in ROM.
default
Specifies the default configuration script.
status
Acquires information for the
Bluetooth
adapter.
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"
Function
GET Parameter
Results
Response
Acquires the configuration script
currently enabled
Type=current
Or no Type is set
Acquisition successful
200 OK
Acquires the configuration script
on the RAM
Type=volatile
Acquisition successful
200 OK
Acquisition failed (No file)
404 Not Found
Acquires the configuration script
on the ROM
Type=static
Acquisition successful
200 OK
Acquisition failed (No file)
404 Not Found
Acquires the Default
configuration script
Type=default
Acquisition successful
200 OK
Содержание TM-T88VII
Страница 96: ...96 Chapter 5 Handling 5 Tear off the paper ...
Страница 98: ...98 Chapter 5 Handling 3 Remove the jammed paper 4 Close the covers ...
Страница 117: ...117 Appendix Units mm 251 ...