onPrintSettings

open fun onPrintSettings(browser: CefBrowser, settings: CefPrintSettings, getDefaults: Boolean)

Called to get print settings.

Parameters

browser

The corresponding browser.

settings

Populate with the desired print settings. Do not keep a reference to this object outside of this callback.

getDefaults

If true |settings| should be populated with the default print settings.