Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

CUPS.CancelJob

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 )

Parameters

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

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


CLGeocoder.ReverseGeocodeLocation   -   CUPS.GetDefaultPrinterName

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins