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.PrinterNames
Queries printer names.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Printer | 6.5 | No | Yes | No | No | No |
Parameters
none
Result
Returns list or error.
Description
Queries printer names.The plugin will store the printer names it sees in the dialog, so you can later query them.
This value is only available after Printer.Print run or Printer.SetPrinter.
Examples
Query formats:
# we run Print dialog
# as there is no printer or paper format with ?, this will not change it
# and 2 means cancel
#
Set Variable [$r; Value:MBS("Printer.Print"; "?"; 2; ""; "?")]
#
Pause/Resume Script [Duration (seconds): 2]
#
Set Field [Printer Dialog::PaperFormats; MBS( "Printer.PaperFormats" )]
Set Field [Printer Dialog::Printers; MBS( "Printer.PrinterNames" )]
Set Field [Printer Dialog::PaperSources; MBS( "Printer.PaperSources" )]
See also
- DynaPDF.Print
- Printer.PaperFormats
- Printer.PaperSources
- Printer.Print
- Printer.PrinterCount
- Printer.PrinterInfo
- Printer.PrinterName
- Printer.SetPrinter
Example Databases
- Win Only/Printer Switch/Printer Dialog
- Win Only/Printer Switch/PrinterToolWin/printerTool_FM15
- Win Only/Printer Switch/Query Paper Formats and Sources
Blog Entries
FileMaker Magazin
Created 16th November 2016, last changed 6th March 2017
Printer.PrinterName - Printer.SetDefaultPrinter
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins