Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot open parallel port in linux

Yahya Mufti
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all, i am trying to read and write data to /from the parallel port , i am running j9 vm on linux.under /dev there are lp0..lp3 parport0..parport3, and port devices , i dont know which one to use , i have tried all , they all return with an ioexception saying "cannot find the file" except for port device which does not generate any error but it does not return what i have written on it ,
any help would be much appreciated.
i am using fileoutputstream and printwriter calsses .
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic