LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change my printer settings programmatically ?

How do I open a print menu, to change the printer, the orientation and the number of pages to be printed out during the execution of a LabVIEW program ?
0 Kudos
Message 1 of 6
(3,867 Views)
Check out the example at:

http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DFC656A4E034080020E74861&p_node=DZ52084&p_submitted=N&p_rank=&p_answer=&p_source=External

If you set the VI to display the printer dialog you can set the printer and the print orientation from there...the number of pages should be possible to control from what you actually put in the VI to be printed.
0 Kudos
Message 2 of 6
(3,867 Views)
Thanks for your reply. Unfortunately, I am not able to open the example file. And how can I set the VI to display the Windows printer dialog box? And maybe the number of pages is the wrong word, I meant number of copies. Thanks,
Bart.
0 Kudos
Message 3 of 6
(3,867 Views)
Not able to download, decompress, open vi..or?
What version of LabVIEW do you have?

I downloaded and tested the example for LV6:

ftp://ftp.ni.com/contrib/epd/B45EACE3DFC556A4E034080020E74861/LV6defprinter.ZIP

That vi has a boolena input that if set to true will display the print dialog.
0 Kudos
Message 4 of 6
(3,867 Views)
Here is another example program you might find useful. It is entitled, "Display Windows Print Setup Dialog".
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DD2556A4E034080020E74861&p_node=DZ52084&p_submitted=N&p_rank=&p_answer=&p_source=External
It requires LabVIEW 5.0.1
0 Kudos
Message 5 of 6
(3,867 Views)

Hi, Jeremy Braden

Is there an example for version LabVIEW 2010?

0 Kudos
Message 6 of 6
(3,163 Views)