I forgot to mention that on this particular machine, that command is a problem; the program hangs. And, of course, no file is printed.
Joe
>Hi.
>
>I have some lines in my program that look like this:
>
>COPY FILE
TO LPT1:
>
>We have a machine now that is using a network printer (it doesn't have anything connected to LPT1) for all printing. There are other solutions, but the easiest would be to re-direct data sent to LPT1 to \\computername\printername. In other words, let the operating system handle it. I could do this in Windows 95 easily enough. I couldn't find how to do it in Windows NT 4.0 or Windows 2000 Pro though. This particular machine is running Windows 2000 Pro. Can anyone help?
>
>Thanks,
>Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC