View Full Version : Direct access to parallel/printer port

December 7th, 2008, 03:52 PM
I learnt commodore basic ,6502 assembler and m/c code back in the seventies, and have a program which I use every week to launch clay targets at a shoot I run. I made an interface box which connects to the printer port and 8 traps. It is currently in qbasic and won't run on anything newer than w98. I'm new to ubuntu, and wondered what would be the easiest language to learn to port it into that allows access to the parallel port, I just write the relevant value to the port, wait half a second then write 0 to the port.
PS , I never learnt any of the {{{ squiggle}}} languages :)


December 7th, 2008, 05:08 PM
I am partial to perl:


December 7th, 2008, 05:11 PM
You may try it with python, using portio (http://portio.inrim.it/) library. There is also pyParallel module.

I have no needs for it myself, this is what google search told.

December 7th, 2008, 05:44 PM
Thanks for the replies.
I had wondered about perl and python because they seem to be considered as good starting languages. Now I know they are both capable of doing what I need I can try to teach my old brain some new tricks.:D