Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Windows Vista Network
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Printer ports shared with NET USE disconnect after few minutes

Windows Vista Network


Reply
 
Thread Tools Search this Thread
  #1  
Old 05-12-2007
Member
 
Join Date: Aug 2006
Posts: 148
Printer ports shared with NET USE disconnect after few minutes

I am running Windows XP and there was an old DOS program that was working fine in it. This program normally uses LPT1, LPT2 and LPT3 ports so that it can print tickers and many things. But recently I have purchased a new computer that came with Vista preinstalled and we started having issues. After configuring the printers and using the NET USE LPT2: \\computer\printer/PERSISTENT:yes, since I use printserver for the standalone printers, it is able to print on all the ports without any issues. The printer is working properly and I have done a lot of tes but if the computer stays on standby for sometime then when I am trying to send a print job to the LPT2 or LPT3, the ports seems to have disconnected. But when I used NET USE to send some data to the port then the first time a message appears that the port is not ready but again when I use it second time then it will print just fine. There might be some new configuration in Vista, because previously it was working fine under XP? Can anyone tell me the difference? Thanks

Reply With Quote
  #2  
Old 05-12-2007
Member
 
Join Date: Oct 2005
Posts: 449
Re: Printer ports shared with NET USE disconnect after few minutes

It seems to be a weird problem. When Windows 2003 and Windows XP were released, many people used to get an auto disconnection problem. So, I want to find it out if it is a similar scenario going around with you as well. The computer that you have is connecting to the printer on a server or a workstation?
Reply With Quote
  #3  
Old 07-12-2007
Member
 
Join Date: Aug 2006
Posts: 148
Re: Printer ports shared with NET USE disconnect after few minutes

The printers are connecting to an ethernet print server and it has lp1, lp2 and lp3 ports. First of all I installed a printer and then added a new TCP/IP port which connects to the print server and its port. Then I am testing the print to make sure that it is working properly. After that I am sharing the printer to the network. Then I am using the batch file with NET USE port: \\computer\printer/persistent:yes commands. Any data sent to the printer can be printed the first time, but when there are no print jobs done in few minutes then it gets disconnected.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Windows Vista Network


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Printer ports shared with NET USE disconnect after few minutes"
Thread Thread Starter Forum Replies Last Post
VMware view client disconnect after every 15 minutes Czeslaw Windows Software 10 17-09-2011 10:27 PM
Network disconnect/reconnects every couple of minutes Marjorie Networking & Security 4 05-10-2010 08:53 PM
How does printer to be shared ? alexasmith Hardware Peripherals 1 07-05-2010 12:34 AM
No printer ports on Windows XP, can not install printer. Matt Windows XP Support 6 05-02-2009 08:42 PM
Can't Connect To Shared Printer Huge B. Windows Server Help 3 16-07-2008 08:05 AM


All times are GMT +5.5. The time now is 06:35 PM.