01-20-2011 02:39 AM
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...
Solved! Go to Solution.
01-20-2011 02:45 AM
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,