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
Component: Printer
List printers and set/get default printer. Select printer on Windows.
See PrintDialog functions for Mac, too.
| Item | Details |
|---|---|
| Printer.CurrentNumberOfCopies Queries the number of copies from the last dialog. | Win only 9.2 |
| Printer.CurrentPaperFormat Returns the selected paper format. | Win only 6.5 |
| Printer.CurrentPaperSource Returns the selected paper source. | Win only 6.5 |
| Printer.CurrentPrintWhat Returns the selected item to print. | Win only 6.5 |
| Printer.CurrentPrinterName Returns the selected printer name. | Win only 6.5 |
| Printer.ErrorLog Queries the error log from Printer.Setup functions. | Win only 6.5 |
| Printer.GetDefaultPrinter Queries default system printer. | Mac/Win 3.0 |
| Printer.PaperFormats Queries paper formats. | Win only 6.5 |
| Printer.PaperSources Queries paper sources. | Win only 6.5 |
| Printer.Print Prints a document with options. | Win only 6.5 |
| Printer.PrinterCount Queries the number of printers. | Mac/Win 3.0 |
| Printer.PrinterInfo Queries printer info. | Mac/Win 6.5 |
| Printer.PrinterName Queries the name of the printer with given index. | Mac/Win 3.0 |
| Printer.PrinterNames Queries printer names. | Win only 6.5 |
| Printer.SetDefaultPrinter Sets the default printer. | Mac/Win 3.0 |
| Printer.SetPrinter Switches printer or changes paper setup. | Win only 6.5 |
16 functions.
Release notes
- 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
- 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
Example Databases
- Printers/Printer Info
- Printers/Printers
- Win Only/Printer Switch/Printer Dialog
- Win Only/Printer Switch/PrinterToolWin/printerTool_FM15
- Win Only/Printer Switch/Query Paper Formats and Sources
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins