LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

inversion image before printing

Hello All,
I am trying to print a XY graph to the default printer and I can do this now, but there are two little things I do not like. One is that I have to save the picture to a file before I append it to a report and the second is that the background is balck (which means I am going to run out of printer ink pretty soon). Is there a method to:
a) print directly to the printer without having to save to a file, make a report and print the report. (I do not want to print the whole front panel VI and the printing of the XY plot is done on demand by the user pressing a "Print button" and an event structure takes care of it.)
b) Can I invert the image of the XY plot so that the background is white?
c) Can you resize the image?


Thanks a lot,

KB
0 Kudos
Message 1 of 2
(2,561 Views)
Grass_Pitch wrote:

> a) print directly to the printer without having to save to a file,
> make a report and print the report. (I do not want to print the whole
> front panel VI and the printing of the XY plot is done on demand by
> the user pressing a "Print button" and an event structure takes care
> of it.)

Can't help with this. The "Append Control Image to Report.vi" will save
the image to disk and there is not much you can change about that.

> b) Can I invert the image of the XY plot so that the background is
> white?

and

> c) Can you resize the image?

Create a different graph on the front panel or a separate subVI with the
background and everything else colored as you want it printed. Pass this
control refnum to "Append Control Image to Report.vi"


Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 2 of 2
(2,561 Views)