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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Printer.SetDefaultPrinter
Sets the default printer.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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.
Examples
Set EPSON printer as default:
MBS("Printer.SetDefaultPrinter"; "EPSON ET-7700 Series")
See also
Example Databases
Blog Entries
Release notes
- Version 10.5
- Fixed printer name matching for Printer.SetDefaultPrinter function.
Created 7th October 2020, last changed 7th October 2020
Printer.PrinterNames - Printer.SetPrinter
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins