This should do it:
SetPrintAttribute(ATTR_ORIENTATION,VAL_PORTRAIT);
"sage" wrote in message
news:5065000000080000007A020100-1079395200000@exchange.ni.com...
> I can print my Data, but it is allways in landscape! how can I select
> portrait printing on my printer from my C code?