Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Printer.CancelJob

Cancels a print job.

Component Version macOS Windows Linux Server iOS SDK
Printer 16.3 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Printer.CancelJob"; Printer Name; Job ID )   More

Parameters

Parameter Description Example
Printer Name The printer name.
Can be "" for default.
"MyPrinter"
Job ID The job ID to look for. 7411

Result

Returns OK or error.

Description

Cancels a print job.

Examples

Cancel a printer with job ID:

MBS( "Printer.CancelJob"; ""; 7411 )

See also

Release notes

  • Version 16.3
    • Added Printer.CancelJob and Printer.GetJobsAsJSON functions.

This function checks for a license.

Created 18th May 2026, last changed 18th May 2026


PrintDialog.SetTray - Printer.CurrentNumberOfCopies