Windows Vista Forums

Printer ports shared with NET USE disconnect after few minutes
  1. #1


    Juan Carlos Guest

    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

  2. #2


    Robert L. \(MS-MVP\) Guest

    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

    > 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

  3. #3


    Juan Carlos Guest

    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

    > 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

    >> 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

Printer ports shared with NET USE disconnect after few minutes problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Slow Shared Printer - Extrememly Slow Shared Printer Jack [MVP-Networking] Vista networking & sharing 4 16 Sep 2009
Missing Ports, can't connect to shared printer rehiggins Network & Sharing 1 07 Sep 2008
A printer shared with "Net use LPT2 \\computer\printer /persistent:yes" command appears disconnect few minutes after last job Juan Carlos Vista networking & sharing 1 12 Dec 2007
Can I use a shared printer on XP with a local printer driver on Vista Alex Ferenstein Vista General 2 08 Nov 2007
Printer ports myando Vista print fax & scan 1 08 Sep 2007