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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CUPS.GetPrinterCount
Queries number of printers.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CUPS | 2.5 | Yes | No | No | Yes, macOS only | No |
Deprecated
This function was deprecated. Use CUPS.GetPrintersAsJSON instead.
MBS( "CUPS.GetPrinterCount" ) More
Parameters
none
Result
The number of printers.
Description
Queries number of printers.Please call this method before calling CUPS.GetPrinterDefault or CUPS.GetPrinterName.
Please consider using CUPS.GetPrintersAsJSON instead to query all printers with details.
Examples
Query number of printers
$count = MBS( "CUPS.GetPrinterCount" )
See also
Blog Entries
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.
Created 18th August 2014, last changed 5th October 2020
CUPS.GetJobsCount - CUPS.GetPrinterDefault
Feedback: Report problem or ask question.
Links
MBS FileMaker blog