LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending graph image to printer?

I'm using Measurement Studio in VB6 and I'm needing to send the graph
image from a CWGraph to the printer object. Does anyone know how to
do this? I can print the graph if I use the printform method, but I'm
needing to send everything directly to the printer. Any ideas?

Thanks,
Dave
0 Kudos
Message 1 of 3
(3,009 Views)
You've posted your question to the wrong forum, this is for LabVIEW questions. For Measurement Studio/Visual Basic, go to here.
0 Kudos
Message 2 of 3
(3,009 Views)
Hello,
You can do:

Printer.PaintPicture CWGraph1.ControlImage, Width, Height

Where Width and Height are single-precision values indicating the destination width and height of the image. You can also specify other parameters of PaintPicture to change the size of the image and so on.

Mika Fukuchi
Application Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,009 Views)