PrintToPdf more optiones

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

PrintToPdf more optiones

Postby Asugusto » Wed Aug 16, 2017 12:58 pm

Hi,

First of all i want to say thanks for this incredible project.
It make us the life easier.

I want to propose improve the method PrintToPdfAsync, because i think is very usefull but it missing some things, for example, i need a 3º party library to read the pdf generated, and create another one with margins, security settings, headers and footers, etc. I know that this is not originally supported by the browser engine, but evaluate if you want to add it.

Or maybe a method that returns the stream of the pdf instead of save it would be usefull

Thanks!
Asugusto
Newbie
 
Posts: 3
Joined: Wed Aug 16, 2017 12:38 pm

Re: PrintToPdf more optiones

Postby magreenblatt » Wed Aug 16, 2017 2:39 pm

Why not just read and post-process the generated PDF file?
magreenblatt
Site Admin
 
Posts: 7752
Joined: Fri May 29, 2009 6:57 pm

Re: PrintToPdf more optiones

Postby Asugusto » Wed Aug 16, 2017 3:31 pm

Because in the first step i only have the html. So i need to load the html, apply css and js and then print the pdf.
Once the pdf in printed i have to use other library to read set custom settings and save in another pdf file

Regards
Asugusto
Newbie
 
Posts: 3
Joined: Wed Aug 16, 2017 12:38 pm


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 1 guest