Printer ports shared with NET USE disconnect after few minutes

Posted: 12-05-2007, 11:03 AM
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


Reply With Quote

Responses to "Printer ports shared with NET USE disconnect after few minutes"

Robert L. \(MS-MVP\)
Guest
Posts: n/a
 
Re: Printer ports shared with NET USE disconnect after few minutes
Posted: 12-05-2007, 05:22 PM
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@nada.com> wrote in message
news:uvrZ95yNIHA.2064@TK2MSFTNGP06.phx.gbl...
> 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
>
Reply With Quote
Juan Carlos
Guest
Posts: n/a
 
Re: Printer ports shared with NET USE disconnect after few minutes
Posted: 12-07-2007, 01:14 PM
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@chicagotech.net> escribió en el mensaje
news:CEC4A562-3729-4E63-A1ED-CBAB3B392F8A@microsoft.com...
> 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@nada.com> wrote in message
> news:uvrZ95yNIHA.2064@TK2MSFTNGP06.phx.gbl...
>> 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
>>
>
>

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer ports myando Windows Vista Printers & Scanners 1 09-08-2007 10:40 PM
Software program changes printer default from network shared printer to a differ Dennis Windows XP Printers / Scanners / Fax 0 11-25-2003 08:53 PM
Printer on LPR ports Sandra Windows XP Printers / Scanners / Fax 1 10-21-2003 08:29 PM
Name of print job files printer on shared printer Zdravko Windows XP Printers / Scanners / Fax 0 10-04-2003 02:41 PM
Printer disconnect after XP Installation Beek Windows XP Printers / Scanners / Fax 1 08-14-2003 06:37 PM