Solved

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

Posted on 2004-10-08
7
205 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
Technology Partners: 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
In this post we will learn different types of Android Layout and some basics of an Android App.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

740 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