LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting portrait printing from C

I can print my Data, but it is allways in landscape! how can I select portrait printing on my printer from my C code?
0 Kudos
Message 1 of 3
(3,058 Views)
SetPrintAttribute (ATTR_ORIENTATION, VAL_PORTRAIT);
0 Kudos
Message 2 of 3
(3,058 Views)
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?
0 Kudos
Message 3 of 3
(3,058 Views)