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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Printer.SetDefaultPrinter

Sets the default printer.

Component Version macOS Windows Linux Server iOS SDK
Printer 3.0 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Printer.SetDefaultPrinter"; Name )   More

Parameters

Parameter Description Example
Name The name of the printer to set as default. "EPSON ET-7700 Series"

Result

Returns OK or error.

Description

Sets the default printer.
FileMaker may not care, but other OS related printer functions may care.

You may prefer to use Printer.Print on Windows and PrintDialog functions on macOS.

Examples

Set EPSON printer as default:

MBS("Printer.SetDefaultPrinter"; "EPSON ET-7700 Series")

See also

Release notes

Example Databases

Blog Entries

Created 7th October 2020, last changed 11st May 2021


Printer.PrinterNames - Printer.SetPrinter

Feedback: Report problem or ask question.