Connecting Tech Pros Worldwide Help | Site Map

Opening printer port.

  #1  
Old July 17th, 2005, 09:00 PM
Lizard King
Guest
 
Posts: n/a
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.
  #2  
Old July 17th, 2005, 09:00 PM
the Wiz
Guest
 
Posts: n/a

re: Opening printer port.


williamrc@starmedia.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.
  #3  
Old July 17th, 2005, 09:01 PM
R.Wieser
Guest
 
Posts: n/a

re: Opening printer port.


Lizard King <williamrc@starmedia.com> schreef in berichtnieuws
dfada1d9.0309091025.69fbc67e@posting.google.com...[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



  #4  
Old July 17th, 2005, 09:01 PM
Lizard King
Guest
 
Posts: n/a

re: Opening printer port.


the Wiz <look@message.body> wrote in message news:<jomslvci25rsglnop74c21rvipmm1ub4lj@4ax.com>. ..[color=blue]
> williamrc@starmedia.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.
  #5  
Old July 17th, 2005, 09:01 PM
magician
Guest
 
Posts: n/a

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@starmedia.com> wrote in message
news:dfada1d9.0309091025.69fbc67e@posting.google.c om...[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]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening of a Cash Drawer =?Utf-8?B?Q29ubnVsbA==?= answers 13 April 19th, 2007 07:45 PM
Opening Cash Drawers in VB.Net Shakil Shamji answers 0 November 22nd, 2005 09:36 AM
Opening Cash Drawers in VB.Net Shakil Shamji answers 0 July 21st, 2005 01:59 PM
Writing to COM Port Mathew answers 4 July 17th, 2005 08:46 PM