Solved

Retrieve data from the parallel port, data originally intended for line printer

Posted on 2004-10-08
7
207 Views
Last Modified: 2010-04-17
Hi

I have some rather old equipment which is currently transmitting data to a line printer which then simply prints this output, there is no way for me to change the way this output is given so what i need is to read the data transmitted to the printer. Meaning i need to read from the parallel port ???

How can this be done ?
0
Comment
Question by:mSchmidt
[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
  • 4
  • 3
7 Comments
 
LVL 4

Expert Comment

by:eozz_2000
ID: 12261827
I have a dll made in VisualBasic 6.0, you only need to add a reference to it in your solution and you will be able to communicate with the parallel port.

If you want it, give me your mail and I send you the control.
0
 

Author Comment

by:mSchmidt
ID: 12262956
Does this mean i will be able to recieve data from the parallel port on pin 2-9 ?
0
 
LVL 4

Expert Comment

by:eozz_2000
ID: 12266352
Yes, this dll has two methods:

outport(val, portAddress)
inport(portAddress)

in portAddress is obviously that you must use 888 (parallel)
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mSchmidt
ID: 12269508
Well okay thanks

email addresss morten@slan.dk
0
 
LVL 4

Expert Comment

by:eozz_2000
ID: 12354963
Hey man... did my dll helped you?
0
 

Author Comment

by:mSchmidt
ID: 12356428
Never recieved one...
try again ?
0
 
LVL 4

Accepted Solution

by:
eozz_2000 earned 500 total points
ID: 12364398
ok, remember that you have to register with

regsvr32.exe Puerto.dll
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

731 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