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


Selects some jobs and returns the count of jobs found.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CUPS 2.5 Yes No Yes, macOS only No No
MBS( "CUPS.GetJobsCount" { ; Name; OnlyMyJobs; whichJobs } )   More


Parameter Description Example value
Name Optional
Name of the printer queue to query. If no name or empty string is specified, we get all queues.
OnlyMyJobs Optional
Pass either "my" for your users jobs or "all" for all jobs.
whichJobs Optional
Pass "active" to get only active jobs, "all" for all jobs or "complete" for completed jobs.


The number of jobs found.


Selects some jobs and returns the count of jobs found.
First call this function to build job list. Than call other GetJob* functions to query values.

With indexes from 0 to count-1, you can call the other functions CUPS.GetJobState, CUPS.GetJobCompletionTime, CUPS.GetJobCreationTime, CUPS.GetJobProcessingTime, CUPS.GetJobPrinter, CUPS.GetJobID, CUPS.GetJobTitle, CUPS.GetJobPriority, CUPS.GetJobFormat, CUPS.GetJobSize and CUPS.GetJobUser.


Query all jobs:

MBS( "CUPS.GetJobsCount"; ""; "all"; "all"" )

See also

FileMaker Magazin

Created 18th August 2014, last changed 5th July 2015

CUPS.GetJobUser   -   CUPS.GetPrinterCount

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos