Solved

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

Posted on 2004-10-08
7
201 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now