Page 1 of 1

PrintToPdf more optiones

PostPosted: Wed Aug 16, 2017 12:58 pm
by Asugusto
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!

Re: PrintToPdf more optiones

PostPosted: Wed Aug 16, 2017 2:39 pm
by magreenblatt
Why not just read and post-process the generated PDF file?

Re: PrintToPdf more optiones

PostPosted: Wed Aug 16, 2017 3:31 pm
by Asugusto
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