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: 8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1    Statistic  


Prints the current webview content.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 1.8 Yes Yes No No Yes
MBS( "WebView.Print"; WebViewerRef )   More


Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.


Returns OK or error.


Prints the current webview content.
You can get/set some parameters on Mac OS X using the WebView.GetPrintParameter/WebView.SetPrintParameter functions.

Not supported for WebKit 2.x (FileMaker 16 Mac). We tried it, but as of macOS 10.12.4 we only get white pages. Works in FileMaker 16, when using a Web Viewer created using WebView.Create.


Print web viewer:

Set Variable [ $r; Value:MBS( "WebView.Print"; "web" ) ]

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 25th November 2019

WebView.PressKey   -   WebView.PrintPreview

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins