Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

How To Active print setting in Local html File

User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How To Active print setting in Local html File

Post 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:
crystalxp
Posts: 39
Joined: Tue Jul 04, 2017 8:23 am

Re: How To Active print setting in Local html File

Post 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
Post Reply