I have a legacy app which uses IPX/SP for networking and is a 16-bit DOS application. No access to source code, cannot change anything. The only way I can run it is under Windows XP.
Trying to automate some processes, and need to redirect what the app is printing to text files. The app prints to 3 different printers, LPT1, LPT2, LPT3 depending on the type of content.
Attempted to use the old utility "prn2file", but does not work. It registers alright with
prn2file "c:\temp\file1.txt" /p lpt2
and states that it is redirecting LPT2 to c:\temp\file1.txt. It does create the file but it remains empty no matter what I print. I cannot even get it to print from a DOS command prompt, it says "cannot initialize PRN".
So I heard that PRN2FILE may no longer work in recent versions of Windows. No exact data what "recent" means, but anyway. So I tried a trial from "printfil.com" which says they handle this problem. But the same happens - nothing. Never prints. Not even from the command prompt. Their support is very helpful and gave lots of suggestions, but it just doesn't work.
Tried 3 different computers with Windows XP, tried in a VM, same result. Little bit mystified as to what is going on here.
That seems to be a real easy problem but how come it never works? Anyone have another option which provenly works?