Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

Printer.CurrentPrinterName

Returns the selected printer name.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Printer 6.5 No Yes No No No

MBS( "Printer.CurrentPrinterName" { ; ReturnIndex } )

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 printer name.
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


Printer.CurrentPrintWhat   -   Printer.ErrorLog

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins