LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Drawing rectangles in printing hard copies in LabWindows

Solved!
Go to solution

In LabWindows I need to print Reports. Report includes text displyed in Rectangles alongwith bitmap. How I will accomplish it in LabWindows? Like I know in VC++ we use PrinterDC and then there are lot of function in class CDC to perform such tasks . How will we do it in LabWindow? Will we have to use function like PrintPanel ?

0 Kudos
Message 1 of 2
(2,988 Views)
Solution
Accepted by topic author Rahil

Yes, the use of PrintPanel is maybe the easiest solution to produce a printed report on test results. You could also accomodate the panel to print so that the resulting report looks exactly as a print report instead of reproducing a 3d display object (white background, hiding all 3d effects...). I am attaching a sample report produced this way.

 

There are several other alternatives to PrintPanel: among them you can take a look at NI-Report, an instrument that help producing a report, or even to Excel or Word Report generation connecting to those products via ActiveX. In both cases you can find some examples of what can be done by searching with the Example finder both in your PC and in Ni site.

Message Edited by Roberto Bozzolo on 07-02-2009 11:33 PM


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,977 Views)