Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Vista Newsgroups > Vista networking & sharing

Vista - Printer ports shared with NET USE disconnect after few minutes

Reply
 
Old 12-05-2007   #1 (permalink)
Juan Carlos


 
 

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 SpecsSystem Spec
Old 12-05-2007   #2 (permalink)
Robert L. \(MS-MVP\)


 
 

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 SpecsSystem Spec
Old 12-07-2007   #3 (permalink)
Juan Carlos


 
 

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 SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46