Cancel All Print Jobs

Last updated:2026-10-13 10:23:46

Cancel All Print Jobs

A third-party platform calls the Cancel All Print Jobs interface (/api/printer/cancelAllPrint) to send a command to the open platform, which clears the current pending print queue of the designated device. The platform processes the request and returns the cancellation result synchronously. This is suitable for bulk order cancellation or resetting a device.

Interface Information

Item Value
Endpoint https://www.coloraprk.cn/api/printer/cancelAllPrint
Method POST

Note: The endpoint domain in the source is www.coloraprk.cn (where aprk appears to be a typo for park), which is inconsistent with the www.colorpark.cn domain used by other interfaces. Preserved verbatim per the source.

Request Parameters

Parameter Sample Value Data Type Required Description
printer_id 500001 string Yes The unique ID assigned to the printer; each print job is assigned a distinct ID.
once 8305 string Yes A random value used when generating the signature (nonce).
time 1646790335 string Yes The timestamp used when generating the signature.
sign 9ce3ce7a3fccaf3d7715bd7e9bb1dc1c string Yes The generated signature. For the generation method, refer to the "Signature Generation" section in the Underlying Methods [Basic Support] document.

Response Result

Field Data Type Sample Value Description
code string 0 Result status code: 0 for success, 1 for failure.
msg string Task canceled success Result description, e.g., "Task canceled success".
data.printer_id string 500001 The ID of the printer assigned to the print job.
data.status string 3 Print job status: 3 = canceled printing.

If a device encounters an unsolvable issue during debugging, please contact the cloud-printing lead to troubleshoot and resolve it. Contact details: Phone: 137-5177-4454 (WeChat same number) Email: info@ColorPark.cn

UV cloud-printing service provider with deep hardware–software integration ® Ruifengcai