CEF Printing Support implementation

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

CEF Printing Support implementation

Postby idrissha » Wed Nov 04, 2015 8:20 pm

Hi,

May be a lame question but i can not figure out why CefPrintHandler usage is not the same as others similar Handlers like CefDownloadHandler. Why we can't access/call it using ClientHandler code? I tried to look into the code and comments but could not find any hints. Thanks

Regards
Idris
idrissha
Newbie
 
Posts: 5
Joined: Wed Aug 05, 2015 11:39 am

Re: CEF Printing Support implementation

Postby magreenblatt » Thu Nov 05, 2015 10:57 am

It's mostly an implementation detail of Chromium. If you need to associate the printing with a browser you can use the new CefPrintHandler::OnPrintStart callback: https://bitbucket.org/chromiumembedded/cef/issues/1736
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: CEF Printing Support implementation

Postby idrissha » Thu Nov 05, 2015 6:50 pm

I did not understand the response completely. I am only trying to expose the printing api's via cefpython project. So i will try to put my question in another way, what can go wrong, if i use ClientHandler to expose the printing api's?

According to my understanding, we do not need browser info in printing api other than CefPrintHandler::OnPrintStart. They contains the callbacks, which if exported along with the api's should result in proper reactions.

Thanks for your reply.
idrissha
Newbie
 
Posts: 5
Joined: Wed Aug 05, 2015 11:39 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 38 guests