Link to home
Start Free TrialLog in
Avatar of incah
incah

asked on

Need parallel port capturing

I need a program (or .VXD), in C, that will capture the parallel ports, so that when a DOS program (running in a DOS box) sends data to a parallel port, to save this data in a file.I also want the complete sources. I am willing to pay a small amount of money for this, but I want to test it
to be sure that it is working.
I am waiting for your offers.
Avatar of Victor Spiridonov
Victor Spiridonov
Flag of Russian Federation image

You can do it in another way - buy a parallel to serial converter
(I don;t think it more then $20) and use any terminal program to capture from serial port
Avatar of busuka
busuka

I have it. Utility called PRN2FILE with ASM source. Is it OK for you ? I can send it by e-mail.
Avatar of incah

ASKER

Is it a TSR or a Windows 95 program ? Anyway I would like to test the executable under Windows 95, and if it works you send me the code. By the way the code is yours ?
1) It is TSR.
2) Code not tested under Win95. But when you run DOS program, it'll
 capture output. Win95 driver uses direct printer port access, so
 no capture is possible.
3) Code is not mine. So I can send it in one archive (ARC file,
 ~20K in size).

Uhh, to send it, I need your e-mail address.
Avatar of incah

ASKER

My e-mail address is inca@incahellas.com , but I doubt it will work, because I have at least 5 other TSRs and none worked correctly.
OK. PRN2FILE on the way. And you can just reject my answer, if it
not suit your needs.
Avatar of incah

ASKER

Thank you but I cannot decompress ARC files. Can you send the files again, after you decompress it?
OK. I'll send it again in decompressed form.
Avatar of incah

ASKER

I'm sorry but PRN2FILE did not work. When I print to lpt1 (e.g. dir>LPT1) it says "Write fault error writing device LPT1
Abort, Retry, Ignore, Fail?". When I print to lpt2 (which does not exist) it says: "The computer name specified in the network path cannot be located."


Hmm, did you tried printing on PRN (dir > PRN) ?
Avatar of incah

ASKER

Yes, it has the same results as dir>lpt1

Can you tell me sequence of your actions ?
You opened DOS box, loaded PRN2FILE.COM and tried to print ?
Or somehow else ?
ASKER CERTIFIED SOLUTION
Avatar of rayofunreal
rayofunreal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of incah

ASKER

My email address is inca@incahellas.com