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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CUPS.CancelJob
Cancel a print job on the default server.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CUPS | 2.5 | Yes | No | No | Yes, macOS only | No |
MBS( "CUPS.CancelJob"; name; JobID ) More
Parameters
| 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 |
Result
Returns 1 on success, 0 on failure.
Description
Cancel a print job on the default server.Examples
Cancel all jobs on this printer queue:
MBS( "CUPS.CancelJob"; "Brother_DCP_8085DN"; -1 )
See also
Created 18th August 2014, last changed 18th August 2014
CNGroup.Name - CUPS.GetDefaultPrinterName
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins