Opening printer port.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lizard King

    #1

    Opening printer port.

    Hi.

    I have a computer running a third party software (POS). The thing is
    this application opens the printer port and I need to use another
    program while the first one is still running.
    Since the other app has the printer port windows shows an error
    (path/file access error).

    Is there a way that two applications can share the printer port?

    Thanks for your help.

    William.
  • the Wiz

    #2
    Re: Opening printer port.

    williamrc@starm edia.com (Lizard King) wrote:
    [color=blue]
    >Hi.
    >
    >I have a computer running a third party software (POS). The thing is
    >this application opens the printer port and I need to use another
    >program while the first one is still running.
    >Since the other app has the printer port windows shows an error
    >(path/file access error).
    >
    >Is there a way that two applications can share the printer port?
    >
    >Thanks for your help.
    >
    >William.[/color]

    The port can't be shared. However, you can add a printer port by installing a
    parallel port card. The new printer port would be LPT2.

    More about me: http://thelabwiz.home.mindspring.com/
    VB3 source code: http://thelabwiz.home.mindspring.com/vbsource.html
    VB6 source code: http://thelabwiz.home.mindspring.com/vb6source.html
    VB6 - MySQL how to: http://thelabwiz.home.mindspring.com/mysql.html
    My newest language - NSBasic for the Palm PDA: http://thelabwiz.home.mindspring.com/nsbsource.html
    Drivers for Pablo graphics tablet and JamCam cameras: http://home.earthlink.net/~mwbt/
    johnecarter atat mindspring dotdot com. Fix the obvious to reply by email.

    Comment

    • R.Wieser

      #3
      Re: Opening printer port.

      Lizard King <williamrc@star media.com> schreef in berichtnieuws
      dfada1d9.030909 1025.69fbc67e@p osting.google.c om...[color=blue]
      > Hi.[/color]

      Hello Lizard King,

      [Snip]
      [color=blue]
      > Is there a way that two applications can share the printer port?[/color]

      Two app's using the same device is much like two cooks using the same pan
      (trying to execute their own receipe): you would not want to eat the result
      :-)

      Maybe you should follow "the Wiz"-es suggestion : put another printer-port
      into the computer.

      Regards,
      Rudy Wieser



      Comment

      • Lizard King

        #4
        Re: Opening printer port.

        the Wiz <look@message.b ody> wrote in message news:<jomslvci2 5rsglnop74c21rv ipmm1ub4lj@4ax. com>...[color=blue]
        > williamrc@starm edia.com (Lizard King) wrote:
        >[color=green]
        > >Hi.
        > >
        > >I have a computer running a third party software (POS). The thing is
        > >this application opens the printer port and I need to use another
        > >program while the first one is still running.
        > >Since the other app has the printer port windows shows an error
        > >(path/file access error).
        > >
        > >Is there a way that two applications can share the printer port?
        > >
        > >Thanks for your help.
        > >
        > >William.[/color]
        >
        > The port can't be shared. However, you can add a printer port by installing a
        > parallel port card. The new printer port would be LPT2.
        >
        >[/color]
        They both need to use the same printer.
        I guess a work around would be to install a new printer port and
        connect LPT1 and LPT2 to a smart dataswitch and then to the printer.

        Doing this users can't blame the application :)

        thanks.

        Comment

        • magician

          #5
          Re: Opening printer port.

          just a thought but have you tried installing the same printer again on the
          same port, but with a different name?
          I sometimes do this and set one to default black and white and the other to
          colour ,so all i have to do is change the "printer" instead of settings. But
          this could possibly help if it thinks its printing through a different
          driver.

          the other thing is.. have you tried the printer.enddoc method to close the
          printer port before trying to open it in your app?

          may or may not work.... but its just a thought

          "Lizard King" <williamrc@star media.com> wrote in message
          news:dfada1d9.0 309091025.69fbc 67e@posting.goo gle.com...[color=blue]
          > Hi.
          >
          > I have a computer running a third party software (POS). The thing is
          > this application opens the printer port and I need to use another
          > program while the first one is still running.
          > Since the other app has the printer port windows shows an error
          > (path/file access error).
          >
          > Is there a way that two applications can share the printer port?
          >
          > Thanks for your help.
          >
          > William.[/color]


          Comment

          Working...