Printing Multiple Pages
I have a print document of 33 pages. I want to print some of the pages in LandScape and some in portrait. While writing data to the print document i am setting ev.Landscape = True for the pages that are required to be printed in Landscape. And for the next page the ev.Landscape = False.
But here the issue the pages are printed to the settings of the lastpage. i.e if the LastPage ev.landscape = False, then all the pages are printed in portrait. If i set ev.Landscape = True for the last page all the pages are printed in Landscape.
How can i work around this issue?