Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   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  

Printer.PrinterCount

Queries the number of printers.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Printer 3.0 Yes Yes Yes No No
MBS( "Printer.PrinterCount" )   More

Parameters

none

Result

Returns the number of printers.

Description

Queries the number of printers.

Examples

Queries number of printers:

$r = MBS( "Printer.PrinterCount" )

Query list of all printers with While loop:

Let ( [
    count = MBS( "Printer.PrinterCount" );
    list = While (
        [
            l = "";
            i = 0
        ];
            i < count ;
        [
            l = l & MBS( "Printer.PrinterName"; i ) & ¶;
            i = i + 1
        ] ; l )
    ]; list )

See also

Example Databases

Blog Entries

FileMaker Magazin

Created 18th August 2014, last changed 13th May 2020


Printer.Print   -   Printer.PrinterInfo

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins