Solved

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

Posted on 2004-10-08
7
203 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
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 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…
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 …

777 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