LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Automated name for NI-Report Print function

Solved!
Go to solution

Hi ,

 

I'm using NI-Report , while using the NIReport_Print function i notice that i always need to choose my file name.

 

I want to set a var lets say :

 

char reportFileName[256];

 

in the soft i will set reportFileName and i want the report to be saved automatically in some folder using this file name , can it be done using NI Report ?

 

i looked for a function to do so like we have in excel report but i couldn't find any...

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 1 of 2
(2,973 Views)
Solution
Accepted by topic author Kobi_K

Hi,

 

I think you are trying to print to a PDF printer.

 

In that case, it is the PDF Printer asking for the directory and filename to save the PDF file, not NI-Report.

NI-Report cannot save the report as a file by itself.

 

You need to find a PDF printer that has some kind of automation.

Personally I use BullZip PDF Printer that allows you to change the settings via command line parameters.

 

Hope this helps,

 

 

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 2
(2,972 Views)