469,273 Members | 1,780 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,273 developers. It's quick & easy.

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.
Jul 17 '05 #1
4 9419
wi*******@starmedia.com (Lizard King) wrote:
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 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.
Jul 17 '05 #2
Lizard King <wi*******@starmedia.com> schreef in berichtnieuws
df**************************@posting.google.com...
Hi.
Hello Lizard King,

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


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

Jul 17 '05 #3
the Wiz <lo**@message.body> wrote in message news:<jo********************************@4ax.com>. ..
wi*******@starmedia.com (Lizard King) wrote:
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 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.

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.
Jul 17 '05 #4
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" <wi*******@starmedia.com> wrote in message
news:df**************************@posting.google.c om...
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.

Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by James Griffiths | last post: by
3 posts views Thread by Joca | last post: by
6 posts views Thread by dzemo | last post: by
13 posts views Thread by =?Utf-8?B?Q29ubnVsbA==?= | last post: by
reply views Thread by =?Utf-8?B?Q2hhcmxpZQ==?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.