Hi,
The print preview is not implemented in Windows yet but it seems to be very close to be added to the master CEF branch :
https://bitbucket.org/chromiumembedded/ ... quests/126
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.
Print preview
- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
- danicarla2
- Posts: 19
- Joined: Mon Oct 01, 2018 6:01 pm
- Location: Brazil
Re: Print preview
Hi guys...
There is a way to make Print preview faster?
To preview a 50 pages, chrome takes about 20 seconds to generate the print preview, but in CEF4 it takes about 70 or 80 seconds
There is a way to make Print preview faster?
To preview a 50 pages, chrome takes about 20 seconds to generate the print preview, but in CEF4 it takes about 70 or 80 seconds
- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Print preview
Perhaps it would be faster with hardware acceleration.
Try setting GlobalCEFApp.EnableGPU to TRUE before the GlobalCEFApp.StartMainProcess call in the DPR file.
Try setting GlobalCEFApp.EnableGPU to TRUE before the GlobalCEFApp.StartMainProcess call in the DPR file.
- danicarla2
- Posts: 19
- Joined: Mon Oct 01, 2018 6:01 pm
- Location: Brazil
Re: Print preview
Tks you for your help
I tried to do that, but the difference is imperceptible...
Is there a way to choose when to print using the print preview and when to use the system dialog? Perhaps only with javascript?
I tried to do that, but the difference is imperceptible...
Is there a way to choose when to print using the print preview and when to use the system dialog? Perhaps only with javascript?
- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Print preview
Set GlobalCEFApp.EnablePrintPreview to FALSE before the GlobalCEFApp.StartMainProcess call in the DPR file to use the print dialog.