LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Print waveform chart by print panel.vi

Hi

I have a program need to print my real time data of a waveform chart. I use a subVI that only have a waveform chart to get the main VI's data. I try to use print panel.vi and it works. But can I programmtically change the printer setup in VI? I want to know how to set Portrait and Landscape in my program. It's better if I can set no. of copies.

Bill.
0 Kudos
Message 1 of 2
(2,346 Views)
AFAIK, you can't change print setup programmatically. The print screen VI (in application control) functions like the option "Print on Completion" and both just take the current options.

My advice is to look into using Report Generation. I haven't used it myself, but offers much stronger control over printed output, including landscape/horizontal, etc. It looks like you can use the "Add Front Panel Item to Report" vi to add your waveform chart, and then print the report like that. I haven't done much with reports, so I can't be more specific. It's a good place to start, though.
0 Kudos
Message 2 of 2
(2,346 Views)