generate pdf

Hi friends,

We have an application need to convert a file(txt) from the application into a pdf file. We have a batch file scheduled every night that generates this txt file from the application.
In the batch file, we will be passing this txt file as input and also provide output file name for the pdf file to be generated. I found some tools online like text2pdf etc, it seems to be working fine but the output format doesn't seem to match exactly with the input file.
We would need the pdf file in the same format as the input file. Do you have any suggestions?

THank you so much

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.