i am coding one report program and i noticed that landscape reports can't
be viewed if your printer is set to portrait (it gives an error, "report
is wider than screen or paper". i was able to get some codes that will change
orientation of printer based on my report and it works just fine.. the problem
is, eventough i put in my code to bring back the orientation to the original
one, printer retains new orientation. any idea where to properly place the
function call to bring back printer's orientation?

Any help will be greatly appreciated.

Thanks alot.

Joseph