you may want to set printer orientation through code. take a look at the link.