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.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
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
MBS(
"CUPS.GetJobState"; /* Queries job state. */
$index) /* Index in the jobs list. Value from 0 to
CUPS.GetJobsCount-1.e.g. 0 */
Less
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
Created 18th August 2014, last changed 5th October 2020
CUPS.GetJobSize
-
CUPS.GetJobTitle
Feedback: Report problem or ask question.