Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CUPS.CancelJob

Component: CUPS
Version: 2.5
Mac OS X: Works
Windows: Does nothing

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 )

Feedback: Report problem or ask question.




Links
MBS Real Studio Chart Plugins - Nachhilfe in Nickenich