Hi,
IIRC, you need to do it before PrintPage(). By that time, you've already
called StartPage() and it's too late to reset the orientation. The easy way
to do this is to create your own PrintController and use it. Or, even
easier, if your whole job is one orientation, just set it before you call
Print().
Also, be sure to test on version 1.1 of the Framework - there were some bug
fixes in printing in 1.1.
Thanks,
- John
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Visit
http://www.microsoft.com/security for current information on security.
[quoted text, click to view] > I am setting PageSettings.Landscape = True in PrintPage event.
>
> I have verified its value and it still prints in Portrait.
>
> Any ideas?