Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

This function checks for a license.

Created 7th October 2020, last changed 10th December 2023


Printer.PrinterNames - Printer.SetPrinter