Category: Interface — LAN Terminal (TCP)
Waste Ink Detection is mainly used by third-party platforms to send a waste-ink detection command to the device through the interface and synchronize waste-ink information.
Interface Information
| Parameter | Value | Description |
|---|---|---|
| IP | 192.168.127.11 | Use the corresponding IP address within the LAN |
| Port | 63333 | Fixed port |
| Connection | TCP | Uses a persistent TCP long-connection |
| Encoding | UTF-8 | All sent and received data uses UTF-8 encoding |
| Data Format | JSON | Both data sending and receiving use the JSON format |
Request Example
{"event":"013"}
Response Result
{"event":"013","code":"0","data":"0","msg":"成功"}
Request Parameters
| Field | Sample Value | Type | Required | Description |
|---|---|---|---|---|
| event | 013 | string | Yes | 013 — waste ink detection event |
Return Result
| Field | Sample Value | Type | Description |
|---|---|---|---|
| event | 013 | string | 013 — waste ink detection event |
| code | 0 | string | Result status code: 0 on success, 1 on failure |
| data | 0 | string | 0: waste ink normal; 1: waste ink full. A full waste-ink alarm is raised, printing stops and cannot continue |
| msg | 成功 | string | Result description, e.g. "submission successful" |
If the device encounters an unsolvable problem during debugging, contact the cloud-printing owner to troubleshoot and find a solution. Contact details are as follows:
- Phone: 137-5177-4454 (WeChat same number)
- Email: info@ColorPark.cn