|
Question : Net Use on a Printer that keeps disconnecting...
|
|
Hello all,
I have setup a printer with LPR on a Windows NT 4.0 server and it works just fine. That server is not a PDC or a BDC. If I do a Net Use command on the windows NT server, I see all the drives that are mapped and the printers that are connected. In order for my Cobol shell application to work properly, I must do the command net use \\ turbo\okidata, then the printer becomes Connected when doing a simple Net Use.
The problem I have is that this printer becomes disconnected, without having done anything. I tried to map a LPT3 with the same path just to get a persistent connection, but still. net use LPT3 \\ Turbo\Okidata /persistent:yes Even with this command, it keeps disconnecting.
Any ideas ?
Denis Turcotte
|
Answer : Net Use on a Printer that keeps disconnecting...
|
|
There is a free tool provided by microsoft called con2prt.exe. It's part of the NT-ZAK, which can be downloaded for free on http://www.microsoft.com/windows/zak/getzak.htm Here you can find the documentation to ZAK too.
When executing con2prt /cd \\turbo\okidata your computer is connected to the networkprinter without the timout problem. This command can be added to a login script too. You can find further information about using con2prt in the documentation to ZAK.
|
|
|
|