PDF & Save Button

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

PDF & Save Button

Postby jg91000 » Fri Aug 19, 2016 11:05 am

Hi support forum,

I have an internet site that opens a popup windows that displays a PDF. Moving the mouse inside the popup-menu will display on bottom right of the popup
a 6 buttons toolbar. Looks like this: [full screen][wide][zoom-out][zoom-in][save][print].

[save]
When a click on the save button nothing happens, what can i do to extract and save the PDF file ?

[print]
On the same site some PDF files are correctly displayed by chromium but when printed to printer or PDFCreator they are not displayed correctly.
Are you guys aware of some fix for that ?

Thanks in advance for your answers
jg91000
Techie
 
Posts: 17
Joined: Fri Jul 17, 2015 3:50 am

Re: PDF & Save Button

Postby magreenblatt » Mon Aug 22, 2016 3:53 am

What OS and CEF version? What specifically is the printing problem and what PDF files reproduce it?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: PDF & Save Button

Postby jg91000 » Mon Aug 22, 2016 3:58 am

Hi magreenblatt,

I opened a new topic with screenshots and the original PDF file.

OS is windows 10 and libcef.dll is 3.2171.1979

So let's restrict this topic to save button.
What i'm missing to save the PDF file ?

Thanks for your answer
jg91000
Techie
 
Posts: 17
Joined: Fri Jul 17, 2015 3:50 am

Re: PDF & Save Button

Postby magreenblatt » Mon Aug 22, 2016 4:04 am

Branches older than 2743 are unsupported. Saving PDFs works for me in 2743 branch.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: PDF & Save Button

Postby jg91000 » Mon Aug 22, 2016 4:08 am

Ok thanks a lot :-)
I'll give a try
jg91000
Techie
 
Posts: 17
Joined: Fri Jul 17, 2015 3:50 am

Re: PDF & Save Button

Postby amaitland » Mon Aug 22, 2016 9:01 pm

From memory you need to implement `CefDownloadHandler` and execute the callback to allow the download.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 45 guests