Solved

Capture printer output as input via parallel port

Posted on 2007-04-02
7
914 Views
Last Modified: 2012-08-13
I have a black box system having some embedded Software that capures patient data and prints a report to a printer connected to a regular parallel port. I want to capture this data through another system by taking this output as input via the parallel port on another system. I want to know the best way to do it preferably in VB.NET or c#. It would save me a lot of printing costs!
0
Comment
Question by:sssihl_dmacs
  • 2
7 Comments
 
LVL 38

Expert Comment

by:younghv
ID: 18837222
Can't you just 're-direct' (">\\uncpath")  the output?

Vic
0
 
LVL 41

Accepted Solution

by:
graye earned 250 total points
ID: 18837378
OK, first you'd need to build a special "cross over" circuit that allows you to hook the two computers up via the parallel port.  Then you'd need to write a program that could read the input from that circuit.

Both of these tasks are not for the casual programmer... and would require a lot of work.

Here is a description of someone who has done it for DOS.   http://www.q1.fcen.uba.ar/materias/iqi/paralel1/home.clear.net.nz/pages/kheidens/lptcap/lptcap.htm

After you've read through that, you'll see what I mean...
0
 

Author Comment

by:sssihl_dmacs
ID: 18840749
Dear Graye
Thanks for your suggestion. I went through the link you suggested. It can be done except for the fact that the solution provided there will work only on systems running real mode DOS and not on systems running any version of windows. That would be a real problem for me as i would have to dedicate one system just for this purpose. Is there a way to do it under windows?
0
 
LVL 41

Expert Comment

by:graye
ID: 18842914
I wasn't suggesting that the article was the solution... I was trying to provide you with the sense of difficulty of accomplishing the task

You might consider doing a search on the internet for a LPT "converter" (LPT->serial or LPT->USB).   It would also require a "cross-over" cable (serial or USB) to be able to link all of the parts together.  That will get the hardware part of the equation out of the way.

Then you'd just have to write a program to read the USB/Serial port (which is a lot more common)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now