Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-10-08
7
Medium Priority
?
212 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 2000 total points
ID: 12364398
ok, remember that you have to register with

regsvr32.exe Puerto.dll
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Simple Linear Regression
Progress

604 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