Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
7.4
7.5
8.0
8.1
8.2
8.3
8.4
8.5
9.0
9.1
Statistic
Printer.CurrentPrintWhat
Returns the selected item to print.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
Printer | 6.5 | No | Yes | No | No | No |
Parameters
Parameter | Description | Example value |
---|---|---|
ReturnIndex | Optional Pass 1 to return index or 0 to return name. Default is zero to return name. |
0 |
Result
Returns value or error.
Description
Returns the selected item to print.This value is only available after Printer.Print run.
Examples
Show current settings:
Show Custom Dialog [ "Current Settings" ; "PrinterName: " & MBS( "Printer.CurrentPrinterName" ) & ¶ &
"PaperSource: " & MBS( "Printer.CurrentPaperSource" ) & ¶ &
"PaperFormat: " & MBS( "Printer.CurrentPaperFormat" ) & ¶ &
"PrintWhat: " & MBS( "Printer.CurrentPrintWhat" ) ]
See also
Example Databases
- Win Only/Printer Switch/Query Paper Formats and Sources
- Win Only/Printer Switch/PrinterToolWin/printerTool_FM15
Blog Entries
Created 18th November 2016, last changed 25th November 2017
Printer.CurrentPaperSource - Printer.CurrentPrinterName
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins