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.CurrentPaperFormat
Returns the selected paper format.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Printer | 6.5 | No | Yes | No | No | No |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| ReturnIndex | Pass 1 to return index or 0 to return name. Default is zero to return name. |
0 | Optional |
Result
Returns value or error.
Description
Returns the selected paper format.This value is only available after Printer.Print or Printer.SetPrinter 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
- Printer.CurrentPaperSource
- Printer.CurrentPrinterName
- Printer.CurrentPrintWhat
- Printer.Print
- 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 18th November 2016, last changed 21st November 2019
Printer.CurrentNumberOfCopies - Printer.CurrentPaperSource
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos