[TriLUG] Line Printer Terminal
Gaurav Gupta
gaurav.ncsu at gmail.com
Mon Apr 17 16:23:49 EDT 2006
I am trying to read/write data from/to the line printer terminal of my laptop.
I used the c program available at
http://www.epanorama.net/circuits/parallel_output.html#linuxprogramming
When I write some data to the data register of the printer port and
try to read it back I see the correct result. But the when I
physically check the pins of the printer port they don't show the
correct data.
I used the base address for the data register as 0x378 (an
introduction is available at
http://www.logix4u.net/parallelport1.htm). Can someone tell where I
could have gone wrong? Maybe the base address on my laptop is
different. My laptop is hp zt3000 model and is running gentoo.
Will appreciate any suggestions.
Gaurav
More information about the TriLUG
mailing list