LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get a print dialog window ?

> To Q2: Programetically it is not possible to directly print a graph
> to printer in Labview, but there are other ways. Whenever we want
> print lots of graphs or plots, we use a very powerful graph tool
> called "ProEssencials". You can select which printer to use, you can
> export the graph to different images (jpg, bmp and emf). When plot is
> sent directly to a printer, you can maximize the plot without loosing
> details (unlike labview graph, which you capture a piture of the graph
> but the picture is not scalable)
>

To get better direct printing from LV, make a Print VI instead ofusing
the GetImage functions.

Copy the graph to a new VI and customize it however you would like for
the printout, typically you will make parts transparen
t or hide them,
perhaps move the legend. Set the VI to print at completion, and in your
program when you have data you want printed on the graph, call the subVI
passing the data to the graph. Note you will likely want to have a
string indicator or some numerics next to the graph to give information
about how the data was acquired or other useful information.

This VI will print at high resolution adapting to the printer it is
going to, unlike a jpg or any other image.

Greg McKaskle
0 Kudos
Message 11 of 11
(586 Views)