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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Queries some jobs and returns JSON Array.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CUPS | 10.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
Name | Name of the printer queue to query. If no name or empty string is specified, we get all queues. |
"Brother_DCP_8085DN" | Optional |
OnlyMyJobs | Pass either "my" for your users jobs or "all" for all jobs. | "all" | Optional |
whichJobs | Pass "active" to get only active jobs, "all" for all jobs or "complete" for completed jobs. | "complete" | Optional |
Returns JSON array or error.
Find all jobs:
MBS("CUPS.GetJobsAsJSON"; ""; "all"; "all")
This function checks for a license.
Created 5th October 2020, last changed 5th October 2020