Hi!
I'm currently upgrading to JCEF version 4147 and adding the new and fancy print dialog supported by chrome ("--enable-print-preview").
Now I saw that if I set the setting "fit in page" when printing PDFs, the settings is remembered while the java.exe is running, but as soon as I start a new java.exe the setting is lost.
I already found following CEF Issue for something similar (should be already in my version as this issue handles the settings between different browsers in the same java process):
https://bitbucket.org/chromiumembedded/ ... e-not-kept
In another issue I found the setting "CefSettings.persist_user_preferences = true" which looks exactly like the thing I would need.
https://bitbucket.org/chromiumembedded/ ... omatically
I didn't find it in the Java CefSettings class or any command line switch.
Is it possible to set this flag in JCEF too?
And if not, is it possible to default enable "fit in page" if available?