-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request - PrintToPDf Scaling #1965
Comments
@GrabzIt Even with minimal
Here are some relevant links to the What I believe is the relevant dictionary key from the I'm sure you could ask a few pointers on http://magpcss.org/ceforum/index.php |
Thanks for the advice! I will look into it :-) |
I have submitted this pull request to CEF (https://bitbucket.org/chromiumembedded/cef/pull-requests/110) just waiting for it to be accepted and I will submit the pull request for CEFSharp. :-D |
Great 👍
Will need to be merged into the |
I have requested the change be merged with 2987, hopefully it will be possible. |
Looks like your change was merged into Should appear next time I upgrade I was unable to get |
Good news about the change being merged. I am just waiting for a new build to appear here: http://opensource.spotify.com/cefbuilds/index.html You are right the PrintToPDF feature is not working in version CEF 3.2987.1594.g92fba9c which is before my change, it seems to occur as soon as chromium version 57 is used as all the clients from CEF 3.2987.1590.g1f1b268 / Chromium 57.0.2987.74 I have raised a critical issue about it: https://bitbucket.org/chromiumembedded/cef/issues/2129/print-to-pdf-broken-in-version-57 |
Issue has been resolved, I'll upgrade to a version that includes that fix prior to releasing Feel free to submit a |
That's brilliant news!! I am on holiday at the moment but i am coming back tomorrow so i will try to submit a PR, by Sunday. |
I have added a PR (#2012) to tie up the new scaling property, however it doesn't seem to work. So I think the key used in CEF maybe wrong. Unless I have missed something, but I don't think that is the case. |
However the good news is print to PDF is working again. |
I think the There are other settings that don't appear to be working like The |
You are probably right, I will return to this if I come up with another idea. Thanks for all your help with this issue btw :-) |
This has been disabled by Chromium it works in the latest versions. |
This is not so much a bug report as a feature request. Version 57 of Chromium now allows PDF print scaling, which should overcome some of the bad results when trying to print a webpage as PDF.
Unfortunately CEF has yet to add it to there library I have raised a case about it here: https://bitbucket.org/chromiumembedded/cef/issues/2106/please-add-scaling-to-pdf-printing
Is there any way it could be included in the #1963 release so that the option would be exposed here: https://github.com/cefsharp/CefSharp/blob/11dee93bf331f012dd6416fb2f2162549d9137a3/CefSharp/PdfPrintSettings.cs? I am not really sure if this is possible at this time, I was just excited when I saw the new feature because it is something that would be very useful.
If this case needs sponsorship I would be willing to pay. I am hoping it wouldn't take too much work as is just another attribute for a existing class, I would do it myself. But I don't have the level of c++ skills required.
The text was updated successfully, but these errors were encountered: