Request and Response
Request
The format of request message is URL-encoded form data (application/x-www-form-urlencoded).
Parameter
ConnectionType
ID
ResponseFile
POST /demo/Test_status.php HTTP/1.1
Host: 192.168.192.10
Content-Type: application/x-www-form-urlencoded
Content-Length: xxx
ConnectionType=SetStatus&ID=&Status=Status Information
The status information configuration is as follows:
Obtain the ASB status
Response
The format of response message is XML(text/xml).
To indicate that the server received the status notification, the Web server returns a response as follows:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 0
Digest Access Authentication
Digest access authentication can be used for the status notification.
See
"Digest Access Authentication" (p.37)
Value
Status
The ID set with WebConfig
Status Information
<?xml version="1.0" encoding="utf-8"?>
<statusmonitor Version="1.00">
<printerstatus devicename="kitchen_printer" asbstatus = "0x00000001"/>
<printerstatus devicename="kitchen_printer2" asbstatus = "0x00000001"/>
<printerstatus devicename="local_printer" asbstatus = "0x0F00003C"/>
</statusmonitor>
Chapter 4
(p.
40)
Status Notification
4
47