|
Answer» Hi, I asked this question in win 7 forum but maybe I went to the wrong place. I have 2 programs which need to use different printers in windows 7. I start them with a batch file. Is there a command I can use to change the default printer? Regards GeofflTry this:
http://www.robvanderwoude.com/2kprintcontrol.php
*Foxidrive beat me to ANSWERING, and if that trick works with 7 you should be all set. If it doesnt work with 7, you might have to go with my suggested method below of network share.
How are these printers CONNECTED (LPT, USB, ETHERNET, etc ) and are they shared over network?
Without a registry Hack, injecting different default printer info, I cant see you being able to do this on the fly on the command line,.... BUT you could share your printers and name them the same share, but only have 1 share active at a TIME which could be batched. To the program it points to just the shared printer name, and it prints. Your batch could designate which printer is the one with the active share!Hi, Two printers on a network. Both shared. I use printer pooling to connect the network printer to LPT1 and use Net Use to to connect LPT1 to the computer. It is old dos stuff printing to LPT1 and this sends it to the network. Just bought a new HP 8100 printer. The old HP309 worked fine. but the new one is really strange. First print after boot is ok. Then it wont print or prints twice. If I change the driver back to the 309 driver it works fine, but then it won't run some of my other ancient programs. I WANT to have 2 x 8100 printers - one for my old stuff and another for my other old stuff Geoffl
|