04-26-2011 03:17 AM
I need to programmatically print the current front panel, with a popup dialog for choosing printer and copies, just like the "Print Window..." command in the File menu of the IDE.
The invoke nodes "Vi to printer" and "Panel to printer" don't fit as they always use the default printer
04-26-2011 03:37 AM
you can make use of the print report.vi for the same. see the snippet
04-26-2011 04:32 AM
It does not popup a printer dialog
04-27-2011 04:44 AM
Hi Snamprogetti,
you have to configure a VI as popup with all informations you need.
Ciao!
04-27-2011 05:49 AM
Hi,
I think this is what you are looking for. Let me know if it helps.
Regards,
Nitzz
(Kudos are always Welcome)
04-27-2011 05:56 AM
Not bad, but there is an already made Labview command (Print Window...), based on an already made, O.S. standard, printer select dialog. Not being able to just call it, is quite sad...
04-27-2011 06:01 AM
Oh, I c.. If you happen to solve this, do share your code here.. Even I am interested to see how it can be done..:)
Regards,
Nitzz
(Kudos are always Welcome)
04-29-2011 03:23 AM
For now i found this old VI on NI site. It was written in 5.0, i converted to 8.2 so latest versions can open it.
It popups a Windows printer dialog, but it's not clear how to get/use what the user selects...
04-29-2011 04:18 AM
That's interesting... I tried something similar.. Calling system32's printer dll using LV .NET Nodes..But was not successful.. 😞
Regards,
Nitzz
06-23-2011 02:15 AM
Hi,
I want to print my front panel.
In run time I should have print, print preview option and want to save the front panel of vi in .pdf format.
How I can customize the application print window suggest a solution asap
Regards,
E.SundarRajan