Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Cancel a print job on the default server.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CUPS 2.5 Yes No Yes, macOS only No No
MBS( "CUPS.CancelJob"; name; JobID )   More


Parameter Description Example value
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 a print job on the default server.


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.

MBS Xojo Plugins