Capture printer output as input via parallel port

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!
sssihl_dmacsAsked:
Who is Participating?
 
grayeConnect With a Mentor Commented:
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
 
younghvCommented:
Can't you just 're-direct' (">\\uncpath")  the output?

Vic
0
 
sssihl_dmacsAuthor Commented:
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
 
grayeCommented:
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
All Courses

From novice to tech pro — start learning today.