Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  


Cancel a print job on the default server.

Component: CUPS
Version: 2.5
Mac OS X: Yes
Windows: No
Server: Yes
FileMaker Cloud: No

MBS( "CUPS.CancelJob"; name; JobID )


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

CLGeocoder.ReverseGeocodeLocation   -   CUPS.GetDefaultPrinterName

Feedback: Report problem or ask question.

MBS REALbasic Plugins - Pfarrgemeinde St. Arnulf Nickenich