LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Related to Printer printing

Hi ,
   In my application I want to print my graph control along with the Panel . So I am using functions like this
                                   int hrpanel;
                                   NIReport_New(&hrpanel);
                   
                                  NIReport_Print(hrpanel,NULL,1);
But at the output end page that is comming out is  blank . So where is the problem plz , inform me and if possible send me the required correct code .
 Thanks
 
Regards
Subrata
0 Kudos
Message 1 of 4
(3,423 Views)
Hi Subrata,

If you are just trying to print out the panel, you can use the PrintPanel functon which is discussed in the
How Do I Print Panels in CVI? Knowledgbase. That knowledgebase also provides an example.

If you are interested in overall reports, check out the report generation examples in the C:\Program Files\National Instruments\CVI81\samples\reportgen directory. There are two examples that use NIReports to print out a report. 

Hope this helps!

Best Regards,
Jonathan N.
National Instruments
Message 2 of 4
(3,419 Views)

Hi ,

I have seen the example codes in the link you mentioned .

But still now I am not getting the any printing document every time blank page comes out from the printer .Tell me what is the problem  and  how to resolve it ?

Thanks

Subrata

0 Kudos
Message 3 of 4
(3,407 Views)
Printpanel works just fine for me when I use it.  It prints the desired panel every time.  As Jonathan mentioned, you should use that if you are trying to print a panel.  If you have switched your original code to use the Printpanel and are still having a problem, then your problem lies elsewhere.  You should show us more of what your code does if you want more help.
Message 4 of 4
(3,396 Views)