Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Cancel a print job on the default server.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CUPS | 2.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |
Parameter | Description | Example |
---|---|---|
name | Name of the printer. | "Brother_DCP_8085DN" |
JobID | The job number of the job you want to cancel. Pass -1 to cancel all jobs or 0 to cancel current job. | 123 |
Returns 1 on success, 0 on failure.
Cancel all jobs on this printer queue:
MBS( "CUPS.CancelJob"; "Brother_DCP_8085DN"; -1 )
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014