I was looking for information related to a task I need to do but I can't seem to get to the solution I need. Basically the task is to switch from printing on dot matrix printers on paper to generating text files with the information that was previously printed.
From the information I collected I was able to achieve this but maybe I am missing a twist. In dot matrix printers, one line is printed every S seconds, so if 60 lines are printed, I end up generating 60 different files, each with one line. What I need to know is that instead of generating a different file (which avoids overwriting the information) I can generate a single file (one per day) and add the information in that file. So far what I did was to download Multi File Port Monitor and create a generic/text-only printer using it as the Multi File Port with the following info:
Then I'm using the configuration User command to call c:\tmp\concat.bat
<concat.bat> copy /b result2023*.txt concat.txt
Maybe there is a better solution, maybe you can concatenate at print time and not have to call concat.bat to do the job. Has anyone had the need to do something similar? Thank you very much!
Sebastián