On Thursday 10 July 2003 11:30 am, Chris Schumann wrote: > I tried changing permissions on /dev/lp0 to a+wr and > doing "echo > /dev/lp0", but it didn't work. > "echo > file" puts just a newline in file. One byte. If you are going to be wire-mangling you need to use /dev/parport0 linux-parport at torque.net is the best mailing list on using the parallel port for other things besides printing to a printer. Don't reinvent the wheel here, get libieee1284, it rocks. Here is code snippet for writing to /dev/parport0 in EPP mode. -- Bob Tanner <tanner at mn-linux.org> | Phone : (952)943-8700 http://www.mn-linux.org, Minnesota, Linux | Fax : (952)943-8500 Key fingerprint = AB15 0BDF BCDE 4369 5B42 1973 7CF1 A709 2CC1 B288 -------------- next part -------------- A non-text attachment was scrubbed... Name: ieee1284_data_write.c Type: text/x-csrc Size: 938 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20030711/97ab7f06/ieee1284_data_write.c