I am doing some work on an old DOS app which runs acceptably well in a Win2k console window. Unfortunately, it is hard coded to print it's reports to a dot matrix printer on LPT1.
The ouput from this app has to be entered into another program, and currently someone has to retype the data from the hard copy. If I were to set up a 'Generic/Text Only' printer with 'Print to File' as my port, is there a way to pre-define the name of the file that the printer will print to? In other words, I don't want the end user to have to type in a file name when printing the file. I have written a VB program that reformats the print file for import into the database, and life would be much easier for me if the output file always had the same name and was found in the same location.
I guess what I'm asking is, is there a way to have Print to File print to the same path every time - without prompting the user?
thanks,
Allen
The ouput from this app has to be entered into another program, and currently someone has to retype the data from the hard copy. If I were to set up a 'Generic/Text Only' printer with 'Print to File' as my port, is there a way to pre-define the name of the file that the printer will print to? In other words, I don't want the end user to have to type in a file name when printing the file. I have written a VB program that reformats the print file for import into the database, and life would be much easier for me if the output file always had the same name and was found in the same location.
I guess what I'm asking is, is there a way to have Print to File print to the same path every time - without prompting the user?
thanks,
Allen