tag:blogger.com,1999:blog-7806932.post-1162441353933698122006-11-01T22:22:00.000-06:002006-11-01T22:22:00.000-06:00Robert, I was able to repeat the same problem that...Robert, <BR/><BR/>I was able to repeat the same problem that you had. I attempted to add a second port when I already had a local port named “C:\spool\dos.txt” and got the error message that you describe. You probably have already added the port without realizing it. Since you already have the port, I modified the procedure a bit for you to add the printer: <BR/><BR/>a. Go to the Windows control panel and open the printer option. Click on “Add Printer”.<BR/>b. Click "Next" on the "Welcome to the Add Printer Wizard" dialog box.<BR/>c. Select "Local printer" and uncheck "Automatically detect and install...", click "Next".<BR/>d. Select "Use the following port:".<BR/>e. From the pull down list to the right of "Use the following port:", select C:\spool\dos.txt (Local Port).<BR/>f. Select "Generic" from the "Manufacturers" and "Generic / Text Only" from "Printers", click “Next”. If you get a prompt asking you about the driver, select to use the existing one.<BR/>g. The next dialog will prompt you for printer name and enter “DOS Printing”, select "No" to use this printer as default and click "Next".<BR/>h. In printer sharing dialog select "Do not share this printer" and click "Next".<BR/>i. Select "No" to print a test page and click "Next".<BR/>j. Click Finish.<BR/><BR/>I had no particular reason to use "dos.txt". It worked but there are other ways to make it work. The "printer" I had you set up above doesn't actually print anything. It actually creates a text file of what you are printing from your dos application. It saves the file to C:\spool and names the file "dos.txt". So when I set up PrintFile, I made it look for that specific file name in the folder. I suppose *.txt would work although it would then print any txt file that might get added to the C:\spool folder. Once PrintFile has printed the txt file, it gets deleted automatically. I thought using "dos.txt" might be a little safer in case a txt file gets accidentally added to the folder, so the file won't get printed and deleted unless it is actually named "dos.txt". <BR/><BR/>Let me know if you get everything working. You might also let me know of ways to improve the procedure. I which I could have made it easier. <BR/><BR/>GeorgeGeorgehttp://www.blogger.com/profile/07268682574845112095noreply@blogger.com