CUPS.GetJobIndex
Queries job index for ID.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
CUPS
|
7.4 |
✅ Yes |
❌ No |
❌ No |
✅ Yes, on macOS |
❌ No |
Deprecated
This function was deprecated. Use CUPS.GetJobsAsJSON instead.
MBS( "CUPS.GetJobIndex"; JobID )
More
MBS(
"CUPS.GetJobIndex"; /* Queries job index for ID. */
$JobID) /* The job ID.e.g. 123 */
Less
Parameters
Parameter |
Description |
Example |
JobID |
The job ID. |
123 |
Result
Returns job index, empty or error.
Description
Queries job index for ID.
You can use this function to quickly locate a job by ID in the list of jobs.
Please call CUPS.GetJobsCount once before you call this function.
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.
- Version 7.4
Blog Entries
This function checks for a license.
Created 29th August 2017, last changed 5th October 2020
CUPS.GetJobID
-
CUPS.GetJobPrinter