LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

printing in landscape and portrait mode

Hi everyone....
 
In my application i have print option.I have given a combo box to select print orientation.
 
In my code,i have used the vi's property print.orientation and i have set it to different as users choice.
 
But the graph looks similar in all print outs despite of the mode selected by the user.
 
Is there any way to rectify this?
 
 
Thanks.....
 
 
0 Kudos
Message 1 of 5
(2,988 Views)
Hi user_1,

I'm not sure that this print orientation does what you expect. It isn't going to reshape the dimensions of front panel controls, it is just going to change the part of the front panel (the dimensions) that is sent to the printer.

Perhaps you are thinking of the functionality available in File»VI Properties»Window Size, checkbox "Scale all objects on front panel as the window resizes" ?

Best regards,
-Sam F, DAQ Marketing Manager
Message 2 of 5
(2,969 Views)
Thanks sir,for ur reply.
 
What i was trying to do is just to print the graph differently taking the same parameter(for example,in MS Word we can take print out in landscape/portrait orientation)
 
Just like taht i wand.
 in my code i have set print.orientatio to landscape/print.orientation to portrait and one of them will work according to users selection.
 
But in both mode the graph looks exactly similar
 
Thanks once again
0 Kudos
Message 3 of 5
(2,958 Views)
Hi user_1,

If you are looking to reshape the graph based on whether the user has selected portrait or landscape mode, you could use a property node for your graph that executes in the same case as the print orientation, in which you reshape the graph using plotareasize or another property. I've attached an example of this.

Hope this helps!
-Sam F, DAQ Marketing Manager
Message 4 of 5
(2,943 Views)
Thank You so much sir,i will try.
 
This is the one i was trying for.
0 Kudos
Message 5 of 5
(2,928 Views)