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

CUPS.GetPrinterDefault

Queries whether this printer is the default printer.

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

MBS( "CUPS.GetPrinterDefault"; index )

Parameters

Parameter Description Example value
index Index of the printer. Value is between 0 and CUPS.GetPrinterCount-1. 0

Result

A boolean value. True if the printer is the default printer.

Description

Queries whether this printer is the default printer.

Examples

Get default state of 3rd printer:

MBS( "CUPS.GetPrinterDefault"; 2 )

See also

Example Databases


CUPS.GetPrinterCount   -   CUPS.GetPrinterName

Feedback: Report problem or ask question.




Links
MBS FileMaker blog