Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Component: Printer
List printers and set/get default printer. Select printer on Windows.
See PrintDialog functions for Mac, too.
Version | macOS | Windows | Linux | Server | iOS SDK |
3.0 / 9.2 | 🔶 31% | ✅ Yes | ❌ No | 🔶 25%, on Windows | ❌ No |
Item | Details | Server |
---|---|---|
Printer.CurrentNumberOfCopies Queries the number of copies from the last dialog. | Win only 9.2 |
❌ Server |
Printer.CurrentPaperFormat Returns the selected paper format. | Win only 6.5 |
❌ Server |
Printer.CurrentPaperSource Returns the selected paper source. | Win only 6.5 |
❌ Server |
Printer.CurrentPrintWhat Returns the selected item to print. | Win only 6.5 |
❌ Server |
Printer.CurrentPrinterName Returns the selected printer name. | Win only 6.5 |
❌ Server |
Printer.ErrorLog Queries the error log from Printer.Setup functions. | Win only 6.5 |
❌ Server |
Printer.GetDefaultPrinter Queries default system printer. | Mac/Win 3.0 |
✅ Server |
Printer.PaperFormats Queries paper formats. | Win only 6.5 |
❌ Server |
Printer.PaperSources Queries paper sources. | Win only 6.5 |
❌ Server |
Printer.Print Prints a document with options. | Win only 6.5 |
❌ Server |
Printer.PrinterCount Queries the number of printers. | Mac/Win 3.0 |
✅ Server |
Printer.PrinterInfo Queries printer info. | Mac/Win 6.5 |
✅ Server |
Printer.PrinterName Queries the name of the printer with given index. | Mac/Win 3.0 |
✅ Server |
Printer.PrinterNames Queries printer names. | Win only 6.5 |
❌ Server |
Printer.SetDefaultPrinter Sets the default printer. | Mac/Win 3.0 |
❌ Server |
Printer.SetPrinter Switches printer or changes paper setup. | Win only 6.5 |
❌ Server |
16 functions shown.
Release notes
- Version 14.0
- Fixed window functions for future FileMaker version, e.g. affect Printer.Print.
- Version 12.1
- Added PrintToFile parameter to Printer.Print function.
- Version 10.5
- Fixed printer name matching for Printer.SetDefaultPrinter function.
- Version 10.2
- Fixed bug with Printer.PrinterInfo function returning value for NSDeviceIsPrinter parameter.
- Version 10.0
- Added more options to Printer.SetPrinter function to set paper format, orientation and source.
- Fixed issue in Printer.SetupPrinter not setting value for Printer.CurrentPrinterName function.
- Version 9.2
- Added 20ms pause after setting copies in Printer.Print to let dialog notice the change.
- Added Printer.CurrentNumberOfCopies function.
- Changed Printer.Print to only set collatePages is 0 or 1 and ignore parameter otherwise.
- Version 9.1
- Added CloseDialog = 3 mode for Printer.Print to keep main dialog open, but close sub dialog.
- Fixed problem with Printer.Print picking items in popup menu if you have two similar starting entries.
- Version 9.0
- Changed Printer.Print to prefer selecting exact match over beginning of text.
- Improved out of bounds error message for Menu.InsertItem, Menu.RemoveItemAtIndex, Calendar.Item.GetAttendeeURL, Calendar.Item.GetAttendeeCommonName, Calendar.Item.GetAttendeeStatus, Printer.PrinterName and CLGeocoder.PlacemarkValue.
- Version 7.1
- Changed Printer.Print to make printer name optional.
Blog Entries
- Control printing in FileMaker with MBS Plugin on Windows
- Control printing in FileMaker with MBS Plugin on MacOS
- Page Setup Dialog example
- MBS FileMaker Plugin 9.2 - More than 5800 Functions In One Plugin
- MBS FileMaker Plugin 6.5 for OS X/Windows
- MBS FileMaker Plugin 3.0 for OS X/Windows - More than 1300 Functions In One Plugin