Archived from groups: microsoft.public.windowsnt.print (More info?)
Hi,
I need to know if it's possible and if so how to, switch my default printer
from a command line (within a batch file) in Windows NT4 workstation. I need
to be able to change the printer briefly so i can print a job (via the
command: "notepad /p filename.txt" ) to force a non-dos printer to print the
job, then switch the default printer back again. The usual default printer is
directly attached to a com port, and the one I want the job printed to is
attached to another workstation (WinXP) and shared to the network.
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.