Solved

Capture printer output as input via parallel port

Posted on 2007-04-02
7
923 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 you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

773 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