Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

CUPS.GetPrinterCount

Queries number of printers.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CUPS 2.5 Yes No Yes, macOS only No No

MBS( "CUPS.GetPrinterCount" )

Parameters

none

Result

The number of printers.

Description

Queries number of printers.
Please call this method before calling CUPS.GetPrinterDefault or CUPS.GetPrinterName.

Examples

Query number of printers

$count = MBS( "CUPS.GetPrinterCount" )

See also


CUPS.GetJobsCount   -   CUPS.GetPrinterDefault

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos