Solved

Need parallel port capturing

Posted on 1998-02-17
14
219 Views
Last Modified: 2013-12-29
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.
0
Comment
Question by:incah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
14 Comments
 
LVL 7

Expert Comment

by:spiridonov
ID: 1706809
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
0
 
LVL 7

Expert Comment

by:busuka
ID: 1706810
I have it. Utility called PRN2FILE with ASM source. Is it OK for you ? I can send it by e-mail.
0
 

Author Comment

by:incah
ID: 1706811
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 ?
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 7

Expert Comment

by:busuka
ID: 1706812
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.
0
 

Author Comment

by:incah
ID: 1706813
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.
0
 
LVL 7

Expert Comment

by:busuka
ID: 1706814
OK. PRN2FILE on the way. And you can just reject my answer, if it
not suit your needs.
0
 

Author Comment

by:incah
ID: 1706815
Thank you but I cannot decompress ARC files. Can you send the files again, after you decompress it?
0
 
LVL 7

Expert Comment

by:busuka
ID: 1706816
OK. I'll send it again in decompressed form.
0
 

Author Comment

by:incah
ID: 1706817
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."


0
 
LVL 7

Expert Comment

by:busuka
ID: 1706818
Hmm, did you tried printing on PRN (dir > PRN) ?
0
 

Author Comment

by:incah
ID: 1706819
Yes, it has the same results as dir>lpt1

0
 
LVL 7

Expert Comment

by:busuka
ID: 1706820
Can you tell me sequence of your actions ?
You opened DOS box, loaded PRN2FILE.COM and tried to print ?
Or somehow else ?
0
 
LVL 1

Accepted Solution

by:
rayofunreal earned 390 total points
ID: 1706821
Hi...

If you wont, send me you email and I can send you my own serial port VxD (i learn on it how to do a VxD). Remade it for LPT is verry easily ;-). I can remade it, or you can try it. It is verry simple. My email is: ray@BlueBridge.cz

ps:Have you seen hockey ?? :-)
0
 

Author Comment

by:incah
ID: 1706822
My email address is inca@incahellas.com
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Determining the an SCCM package name from the Package ID
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

624 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