Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5    Statistic    FMM    Blog  

CUPS.GetJobState

Queries job state.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CUPS 2.5 Yes No Yes, macOS only No 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

Example Databases

FileMaker Magazin

Release notes

  • Version 10.5
    • Deprecated 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.

Created 18th August 2014, last changed 5th October 2020


CUPS.GetJobSize   -   CUPS.GetJobTitle

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos