Page 2 of 2

Re: How To Active print setting in Local html File

Posted: Sun Jan 21, 2018 9:15 am
by salvadordf
I uploaded a modified version of the SchemeRegistrationBrowser demo and now it loads local files. The default URL will load the test.html found in the BIN directory.

I tried to use the "Print" option in the context menu that appears inside the flash animation but it doesn't show the printers dialog.
If I try to load the test.html file inside Chrome then the print menu option works. :?

I downloaded the official CEF3 "Sample Application" :
http://opensource.spotify.com/cefbuilds ... nt.tar.bz2

I created a cefclient.exe shortcut and I added some parameters to enable the flash plugin (--enable-system-flash) and disable web security (--disable-web-security)
Then I typed file:///test.html in the address box and it showed all the content but the print option inside the flash animation didn't work. :cry:

I also tried to set a cache directory and change the flash settings without success.

I'm afraid this is a feature that it's not implemented in CEF3 and I can't do anything from CEF4Delphi. :oops:

Re: How To Active print setting in Local html File

Posted: Mon Jan 22, 2018 6:15 am
by crystalxp
That's a Bad news,But still thanks for your job! very much!... maybe, this option can funcction correctly in future in cef :D :D :D :D :D :D