how can i use cef to print preview?

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.

how can i use cef to print preview?

Postby kingkwang » Fri Dec 12, 2014 3:10 am

Dear magreenblatt :
i am using cef in an web project, in which i need to print something. var newwin = window.open(...); newwin.print(). it worked in cef 3.1650. but if the window is too long , the window DC can not print
full. i use window.print in cef 3.2062 and later,they all didn't work. so i want to know how can i use cef to print preview? the print preview in chrome is ok, in cef is still not work. how can i use cef to print ,
it will work like chrome://print/foo?
kingkwang
Newbie
 
Posts: 3
Joined: Fri Dec 12, 2014 2:30 am

Re: how can i use cef to print preview?

Postby magreenblatt » Fri Dec 12, 2014 5:50 am

CEF does not support print preview, see https://code.google.com/p/chromiumembed ... ail?id=123.

kingkwang wrote:i use window.print in cef 3.2062 and later,they all didn't work

What OS and CEF version? What problem are you seeing?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: how can i use cef to print preview?

Postby kingkwang » Tue Dec 16, 2014 3:10 am

i am using win xp sp3. the demo cefclient has the same problem in Debug mode,will be crash into cefrunmessageloop function. in release mode the cefclient is No reaction.
kingkwang
Newbie
 
Posts: 3
Joined: Fri Dec 12, 2014 2:30 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 51 guests