07-02-2009 01:57 PM
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 ?
Solved! Go to Solution.
07-02-2009 04:26 PM - edited 07-02-2009 04:33 PM
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.