Results 1 to 8 of 8
  1. #1
    mr_anderson is offline Member
    Join Date
    May 2010
    Location
    Florida
    Posts
    68
    Rep Power
    0

    Default Parallel Port control in java

    HI
    I am developing a java application that reads and writes data to the parallel port of a PC, I searched google and I found that too many website are saying that javax.comm has problems in many issues (i.e. not reliable) and I found a nother package developed by rxtx.org in which it was recommended by too many websites, my question now is that:
    can you recommend me a package to use in order to control the parallel port taking into consideration I will use either windows server 2003 on the target PC or linux (due to the fact that not all the packages support all the operating systems).

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    May be not what you really expecting, but in my experience Java is not a suitable way to communicate with ports in advance. Better to use a language like C/C++, which you have more control over the others.

    And also there are many ways to connect those C/C++ modules into Java, using JNI and stuff.

    I'm not discouraging you, but it's the best way I found in my experience.

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,945
    Rep Power
    19

    Default

    Oh I don't know. I've had no problem doing serial port work with scanners, and card readers. Not done parallel, though, so that may be different.

  4. #4
    mr_anderson is offline Member
    Join Date
    May 2010
    Location
    Florida
    Posts
    68
    Rep Power
    0

    Default

    Thank you guys, can you please recommend a good websites for such stuff.
    Regards.
    Anderson.

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Tolls View Post
    Oh I don't know. I've had no problem doing serial port work with scanners, and card readers. Not done parallel, though, so that may be different.
    Could be, depend on the design. Comparing those two has a bit difference.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by mr_anderson View Post
    Thank you guys, can you please recommend a good websites for such stuff.
    Regards.
    Anderson.
    I'm not exactly remember any tutorials, I couldn't found any in my bookmarks. But I remember there is a third party library something like parport. Search on the web, you may find lots of details about that. As far as I remember there is no well explained documentation, but the once they provide is more than enough.

    Relevant to C/C++ you can find a lot.

  7. #7
    mr_anderson is offline Member
    Join Date
    May 2010
    Location
    Florida
    Posts
    68
    Rep Power
    0

    Default

    Thank you again.
    I found the parport and it seems really good

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. how to write to parallel port?
    By gen1mx6 in forum NetBeans
    Replies: 3
    Last Post: 07-30-2010, 06:06 PM
  2. Java Parallel Processing Framework 1.3
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 06-21-2008, 12:29 AM
  3. Java Parallel Processing Framework 1.2
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 05-08-2008, 07:02 PM
  4. Java Parallel Processing Framework 1.2
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 05-06-2008, 06:44 PM
  5. Java Parallel Processing Framework 1.0 RC1
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 11-17-2007, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •