![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Printer ports shared with NET USE disconnect after few minutes Hi, I have a old DOS program that was working fine in Windows XP. This program uses LPT1, LPT2 and LPT3 ports to print tickets and more. Now we have bought new computers with Vista installed and we have a lot of problems. I want to explain one of them. I have configured the printers and using NET USE LPT2: \\computer\printer /PERSISTENT:yes because I use printserver for the stand-alone printers. it can print on all the ports with no problem. I had done a lot of test and the printers work fine, but when the computer stay few minutes not working when I tried to send a job to the LPT2 or LPT3, the ports was disconnected. NET USE LPT2 -> Disconnected LPT3 -> Disconnected After that, I send some data to that port, for example, ECHO Test > LPT2 and first time appears a message with a port not ready alert, and second time it prints fine. Now, when I test NET USE again appears: LPT2 -> Connected I do not understand this problem, but I think can be a new system configuration from Vista, because everything were working in XP with the same configuration for a long time. Sorry for my poor english, Best regards, Juan Carlos |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Printer ports shared with NET USE disconnect after few minutes This is an interesting issue. When XP and windows 2003 came, many people have an auto disconnection issue. I would like to find it out if it is similar thing. Does the computer connecting to the printer is server or workstation? -- Bob Lin, MS-MVP, MCSE & CNE Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com "Juan Carlos" <nada@xxxxxx> wrote in message news:uvrZ95yNIHA.2064@xxxxxx Quote: > Hi, > > I have a old DOS program that was working fine in Windows XP. This program > uses LPT1, LPT2 and LPT3 ports to print tickets and more. > > Now we have bought new computers with Vista installed and we have a lot of > problems. I want to explain one of them. > > I have configured the printers and using NET USE LPT2: \\computer\printer > /PERSISTENT:yes because I use printserver for the stand-alone printers. > it can print on all the ports with no problem. I had done a lot of test > and the printers work fine, but when the computer stay few minutes not > working when I tried to send a job to the LPT2 or LPT3, the ports was > disconnected. > > NET USE > > LPT2 -> Disconnected > LPT3 -> Disconnected > > After that, I send some data to that port, for example, ECHO Test > LPT2 > and first time appears a message with a port not ready alert, and second > time it prints fine. Now, when I test NET USE again appears: > > LPT2 -> Connected > > I do not understand this problem, but I think can be a new system > configuration from Vista, because everything were working in XP with the > same configuration for a long time. > > Sorry for my poor english, > > Best regards, > > Juan Carlos > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Printer ports shared with NET USE disconnect after few minutes Printers are conected to an ethernet printserver. Printserver has 3 ports, lp1, lp2 and lp3. I install a printer. Add a new TCPIP port that connect to the printserver and its port. Then I print a test to be sure it is working fine. I share the printer to the network. Finally, use a batch file with NET USE port: \\computer\printer /persistent:yes commands. First time, I send some data to the printer and it can be printed. When I see NET USE, appears the LPTn port connected. Few minutes after, it is disconnected when there are no jobs. I had configured it in XP and no problems. Vista, new S.O. new problems. Thank you very much Juan Carlos "Robert L. (MS-MVP)" <noreply@xxxxxx> escribió en el mensaje news:CEC4A562-3729-4E63-A1ED-CBAB3B392F8A@xxxxxx Quote: > This is an interesting issue. When XP and windows 2003 came, many people > have an auto disconnection issue. I would like to find it out if it is > similar thing. Does the computer connecting to the printer is server or > workstation? > > -- > Bob Lin, MS-MVP, MCSE & CNE > Networking, Internet, Routing, VPN Troubleshooting on > http://www.ChicagoTech.net > How to Setup Windows, Network, VPN & Remote Access on > http://www.HowToNetworking.com > > > "Juan Carlos" <nada@xxxxxx> wrote in message > news:uvrZ95yNIHA.2064@xxxxxx Quote: >> Hi, >> >> I have a old DOS program that was working fine in Windows XP. This >> program uses LPT1, LPT2 and LPT3 ports to print tickets and more. >> >> Now we have bought new computers with Vista installed and we have a lot >> of problems. I want to explain one of them. >> >> I have configured the printers and using NET USE LPT2: \\computer\printer >> /PERSISTENT:yes because I use printserver for the stand-alone printers. >> it can print on all the ports with no problem. I had done a lot of test >> and the printers work fine, but when the computer stay few minutes not >> working when I tried to send a job to the LPT2 or LPT3, the ports was >> disconnected. >> >> NET USE >> >> LPT2 -> Disconnected >> LPT3 -> Disconnected >> >> After that, I send some data to that port, for example, ECHO Test > LPT2 >> and first time appears a message with a port not ready alert, and second >> time it prints fine. Now, when I test NET USE again appears: >> >> LPT2 -> Connected >> >> I do not understand this problem, but I think can be a new system >> configuration from Vista, because everything were working in XP with the >> same configuration for a long time. >> >> Sorry for my poor english, >> >> Best regards, >> >> Juan Carlos >> > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: Slow Shared Printer - Extrememly Slow Shared Printer | Vista networking & sharing | |||
| Missing Ports, can't connect to shared printer | Network & Sharing | |||
| A printer shared with "Net use LPT2 \\computer\printer /persistent:yes" command appears disconnect few minutes after last job | Vista networking & sharing | |||
| Can I use a shared printer on XP with a local printer driver on Vista | Vista General | |||
| Printer ports | Vista print fax & scan | |||