473,320 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 9671
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: James Griffiths | last post by:
Here is a report I've written about a printing problem that is being experienced by a particular company for whom I had developed a A97 system. After upgrading to Win XP and AXP, some printing...
0
by: Esmee | last post by:
Hi there, I have created an Access 2002 db which contains several reports. Some reports need to be printed on a Laserjet and others on a Labelprinter. One of my clients wants to be able to print...
3
by: Joca | last post by:
Hi, I have a process system that generate events and send them to a printer port, and in the end a printer writes it as a text line on a paper. I would like to chatch this text line...
1
by: Bruce Wood | last post by:
I'm having a devil of a time calling DeviceCapabilities() in order to get the list of paper names / codes / sizes for a printer. Here is my code and the input it produces: static extern Int32...
6
by: dzemo | last post by:
I have mentioned printer but how to print on him from code? I tried like POS printer copy .txt to LPT port but don't work. I tried print test page- still nothing. Any ideas? thx --...
2
by: Terry Olsen | last post by:
Can anyone give me some guidance on installing a local printer with VB 2005? I'm guessing I would probably do this with WMI, but i'm not finding anything obvious. I see how to add a networked...
13
by: =?Utf-8?B?Q29ubnVsbA==?= | last post by:
I need to open a Cash Drawer from my Windows App when the user issues and prints (Epson Receipt Printer) a Receipt. I beleive I need to pass the printer a string of (#027 + #112 + #000 + #025 +...
4
ADezii
by: ADezii | last post by:
Recently, there seems to be several questions specifically related to Printers and changing Printing characteristics for Forms and Reports. For this reason alone, I decided to dedicate this week's...
0
by: =?Utf-8?B?Q2hhcmxpZQ==?= | last post by:
Hi, This apparently is a common problem and I've yet to read a solution that actually works for my specific situation. I have a Zebra RW220 printer that I connect to via Bluetooth connection...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.