0

Hello,
I am newbie in perl. I am currently working on a project to access the parallel port of a pc in perl on a linux operating system.

I really do not know where to start. Could anyone help me with useful links, books, resources..etc that could be of explicit help in accessing the parallel port using perl. I need this urgently if i am to finish my project on time.

Thanks

001

2
Contributors
4
Replies
5
Views
12 Years
Discussion Span
Last Post by 001
0

I'm pretty sure that the parallel port is a device in /dev, I'm not sure which one it will be (depends on which one you are trying to access), but you may have to do a sysread or syswrite on that device (there is probably a way to open it too) let me see:

http://linux.dd.com.au/quest/os-perl/parallelport/
http://www.geekinventions.com/modules.php?name=News&file=article&sid=6
http://search.cpan.org/~scott/Device-ParallelPort-1.00/lib/Device/ParallelPort.pm

That should get you on your way :)

0

thanks,but it is not comprehensive enough. i really need something from the basics.


001

0

so, you want to understand how the parallel port works with data, or binary, or what? I'm a little confused as to what exactly you need.

0

I understand how the parallel port works, what i want to understand are the codes that i can use to send and receive data from the parallel port using perl. something like a tutorial explaining the necessary codes would do.

thanks.

001

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.