LibLp 0.1 reviewDownload
LibLp is a library to send and receive data to the parallel port under Linux, using a few simple functions. Installation: just
LibLp is a library to send and receive data to the parallel port under Linux, using a few simple functions.
just untar the file (tar xvfz liblp-0.1.tar.gz) and walk into liblp-0.1; then issue a make. This will build two libraries (liblpstatic.a and liblp.so) the static and the dynamic version; and one test program (test) that send some bytes to the parallel port.
In some systems, Liblp doesn't compile due a little change in the includes for ioperm. Just walk into liblp.h and comment/uncomment the include for system.h and io.h.
It's pretty simple;)
I have to write some serious Documentation
This library has been tested over the following hardware:
Pentium II 400
Pentium III 650
So I think this will work in any PC-Compatible computer.
WARNINGS about HARDWARE
You will need a parallel cable extensor (a lp cable just doesn't work) o plug the cables directly to the PC board's connector.
Be careful with the tension applied to the port, you can just burn out the PC motherBoard; To protect the board, just build a diode bridge (I'm computer ingenieer, no a electronic guy)
Some hardware tech documents
LibLp has been use to command a PIC microcontroller programmer; a Robot Interface, and some electronic circuits.
LibLp 0.1 keywords