Pause Printing
To pause a job that is currently printing, first confirm the job is printing, then call pause.
Before You Start
Prepare the device credentials and the returned task ID, and verify the current job status first.
The pause and resume interfaces use task_id; the cancel and query interfaces use taskid. Fill in according to each document's body text.
Third-party platforms call the Pause Printing interface (
/api/task/pause) to send a pause-printing command to a designated device. After receiving the command, the open platform connects to the printer to execute the pause operation.
Note: Only a job that is currently printing can be paused.
Interface Information
| Item | Value |
|---|---|
| Endpoint | https://www.colorpark.cn/api/task/pause |
| Method | POST |
Request Parameters
| Parameter | Example | Type | Required | Description |
|---|---|---|---|---|
| printer_id | 500001 | string | Yes | The unique ID assigned to the printer; each printer gets a different number. |
| once | 8305 | string | Yes | A random value (nonce) used when generating the encrypted signature. |
| time | 1646790335 | string | Yes | The timestamp used when generating the encrypted signature. |
| sign | 9ce3ce7a3fccaf3d7715bd7e9bb1dc1c | string | Yes | The generated signature. See the "Generate Signature" section under Underlying Methods [Basic Support]. |
| task_id | 20000196 | string | Yes | The unique ID of the assigned print job. |
Response
| Field | Type | Example | Description |
|---|---|---|---|
| code | string | 0 | Result status code. 0 on success, 1 on failure. |
| msg | string | paused printing successfully… | Result description, e.g. "paused printing successfully…". |
| data.task_id | string | 20000196 | The unique ID of the print job. |
| data.printer_id | string | 500001 | The unique ID assigned to the printer. |
If a device encounters an unresolved issue during debugging, contact the cloud-printing responsible person for troubleshooting. Phone: 137-5177-4454 (WeChat same number); Email: info@ColorPark.cn
© Ruifengcai (瑞丰彩) — UV cloud-printing service provider with deep hardware–software integration