Skizz Skizz - 7 months ago 32
C++ Question

Turn .txt file into .pdf file on the fly?

I'm we're trying to figure out if there would be a way to convert a .txt file to a .pdf file. Here's the catch. This needs to be done behind the scenes, and on the fly. Meaning, with a radio control selected, OnOK would create a .txt file. Behind the scenes, at run time, we would like for the .txt file to be converted to a .pdf file. Ideally we would like this to be done by running an executable in the background. The executable would take input "File.txt" and output "File.pdf". We're using C++ and Visual Studio 6.

Does anyone have any experience on this? Is this possible?

Answer Source

This a2pdf tool will probably do the trick with minimal effort. Just be sure to turn off perl syntax highlighting.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download