WebView.ClearPrintParameters
----------------------------

Clears the print parameters.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebView](component_WebView.md) | [15.1](newinversion151.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ✅ Yes |

MBS( "WebView.ClearPrintParameters" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Clears the print parameters.  
Resets values like margins and paper format settings.  
This resets a few global variables in the MBS Plugin, which control the settings we apply when printing.  
### Examples

Clear all printer settings:

 Set Variable \[$r ; Value: MBS ( "WebView.ClearPrintParameters")\]  
### See also

- [WebView.GetPrintParameter](WebViewGetPrintParameter.md)
- [WebView.SetPrintParameter](WebViewSetPrintParameter.md)

### Release notes

- **Version 15.1**
    - Added [WebView.ClearPrintParameters](https://www.mbsplugins.eu/WebViewClearPrintParameters.shtml) function.

### Example Databases

- [WebViewer/WebViewer Save PDF](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/WebViewer%20Save%20PDF.shtml#3ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin 15.1 News](https://www.mbsplugins.de/archive/2025-03-19/MBS_FileMaker_Plugin_151_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.1pr1](https://www.mbsplugins.de/archive/2025-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 29th January 2025 , last changed 8th March 2025

  
[WebView.ClearBrowserSession](WebViewClearBrowserSession.md) - [WebView.ClearSelection](WebViewClearSelection.md)

[HTML Version](WebViewClearPrintParameters.shtml)