Jump to content

Creating multiple pdf output files using fusionpro command line


Recommended Posts

Hi,

 

I have a template where one of the callback rule is to create one pdf file for one record and works very good when I manully compose the file. I have multiple pdfs in the path I choose for output. I want to acheive the same thing using the fusionpro command line.

 

My users usually drag the input text file on a batch file with the fusionpro command to create the output files.

Fusionpro.exe command has

fusionpro.exe <instance file> <format (the .dif) file> <config file> <output file>

 

where I have to give the output file name which I think overwrites my rule to create the multiple files.

 

The config file has something like

OutputSource=bychunk

RecordsPerChunk=1

 

insead of the onefile, even then it is not working.

 

I tried giving just the folder name where I want the output files instead of the file name, that does not work too.

 

Any help/advice on this is appreciated.

 

Thanks!

Link to comment
Share on other sites

I am able to get this to working!

 

The config file has

OutputSource=bychunk

RecordsPerChunk=1

 

and in the fusionpro command line I gave the output file name instead of the folder.

The rule FusionPro.Composition.outputFileName worked and overwrote the file name I gave in the command line.

 

Hope this helps anybody looking for the same thing!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...