LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Print Window...

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

0 Kudos
Message 1 of 11
(3,918 Views)

you can make use of the print report.vi for the same. see the snippet

1.png

Regards
Guru (CLA)
0 Kudos
Message 2 of 11
(3,908 Views)

It does not popup a printer dialog

0 Kudos
Message 3 of 11
(3,904 Views)

Hi Snamprogetti,

 

you have to configure a VI as popup with all informations you need.

 

Ciao!

______________________
Simone S.
Academic Field Engineer - Med Region
0 Kudos
Message 4 of 11
(3,892 Views)

Hi,

 

I think this is what you are looking for. Let me know if it helps.


Regards,

 

Nitzz

(Kudos are always WelcomeSmiley Wink)

Download All
0 Kudos
Message 5 of 11
(3,883 Views)

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...

0 Kudos
Message 6 of 11
(3,881 Views)

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 WelcomeSmiley Wink)

0 Kudos
Message 7 of 11
(3,878 Views)

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...

0 Kudos
Message 8 of 11
(3,862 Views)

That's interesting... I tried something similar.. Calling system32's printer dll using LV .NET Nodes..But was not successful.. 😞

 

Regards,

Nitzz

0 Kudos
Message 9 of 11
(3,856 Views)

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

0 Kudos
Message 10 of 11
(3,828 Views)