Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CUPS.GetJobState
Queries job state.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CUPS | 2.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |
Deprecated
This function was deprecated. Use CUPS.GetJobsAsJSON instead.
MBS( "CUPS.GetJobState"; index ) More
Parameters
Parameter | Description | Example |
---|---|---|
index | Index in the jobs list. Value from 0 to CUPS.GetJobsCount-1. | 0 |
Result
The job state value.
Description
Queries job state.Please call CUPS.GetJobsCount once before you call this function.
Value is 3 for pending, 4 for held, 5 for processing, 6 for stopped, 7 for cancelled, 8 for aborted and 9 for completed.
Please consider using CUPS.GetJobsAsJSON in future to query job list.
See also
Release notes
- Version 10.5
- Deprecated CUPS.GetPrinterCount, CUPS.GetPrinterDefault, CUPS.GetPrinterName, CUPS.GetJobCompletionTime, CUPS.GetJobCreationTime, CUPS.GetJobFormat, CUPS.GetJobID, CUPS.GetJobIndex, CUPS.GetJobPrinter, CUPS.GetJobPriority, CUPS.GetJobProcessingTime, CUPS.GetJobSize, CUPS.GetJobState, CUPS.GetJobTitle, CUPS.GetJobUser and CUPS.GetJobsCount function.
Example Databases
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 5th October 2020