Set Paper Size for Printing

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.

Set Paper Size for Printing

Postby chowey » Fri May 22, 2015 2:52 pm

Is there any way to set the paper size and orientation for printing?

I am trying to support Windows XP and later. Normally this involves setting properties on the DEVMODE struct, but this seems buried deep inside the Chromium internals. There are also CSS properties for paper size and orientation, but these don't seem to work in CEF.
chowey
Techie
 
Posts: 20
Joined: Fri Oct 25, 2013 3:13 pm

Re: Set Paper Size for Printing

Postby PolesApart » Tue May 26, 2015 3:12 pm

IIRC A user provided a patch that exposed print options, but perhaps it wasn't merged in.
PolesApart
Mentor
 
Posts: 73
Joined: Fri Dec 05, 2014 1:24 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 101 guests