Remotely control the open platform and terminal-software status according to the printer's current usage scenario — fault or normal — so as to explicitly indicate the printer's current state. In "maintenance" mode orders stop printing; in "normal" mode printing can continue.
Note: You must upgrade or install the latest version of the cloud-printing client to use this feature (confirm the client version with the official technical team).
Interface Information
| Item | Value |
|---|---|
| Endpoint | https://www.colorpark.cn/api/printer/updateEnable |
| Method | POST |
Request Parameters
| Parameter | Sample Value | Data Type | Required | Description |
|---|---|---|---|---|
printer_id |
500001 |
string | Yes | Unique ID assigned to the printer; each printer is assigned a different number |
once |
8305 |
string | Yes | Random value used when generating the signature (encryption) |
time |
1646790335 |
string | Yes | Timestamp used when generating the signature (encryption) |
sign |
9ce3ce7a3fccaf3d7715bd7e9bb1dc1c |
string | Yes | Generated signature. For the generation method, refer to the "Generate Signature" section of Underlying Methods [Basic Support] |
Note: Unlike the desktop-device version (document id 50), this kiosk version's request-parameter list does not include an
enablefield, yet the response returnsdata.enable(1 = switched to normal, 0 = switched to maintenance). The field that drives the switch in the request is not documented here — confirm the exact request parameter with the technical team.
Response Result
| Parameter | Data Type | Sample Value | Description |
|---|---|---|---|
code |
string | 0 |
Result status code: 0 on success, 1 on failure |
msg |
string | Submitted successfully |
Result description, e.g., "Submitted successfully" |
data.printer_id |
string | 500001 |
Printer ID assigned for the print job |
data.enable |
string | 1 |
1: switched to normal status; 0: switched to maintenance status |
If a problem that cannot be resolved occurs during device commissioning, contact the cloud-printing responsible person for troubleshooting. Contact details: Phone: 137-5177-4454 (WeChat same number) Email: info@ColorPark.cn