I have a similar issue but your link doesn't really answer the posters question.
I think the question is how to change the orientation at run time, not by editing the xsf file in notepad...
I would like to be able to print one page within a form view as landscape and all the others as portrait. Any takers?