The Artima Developer Community
Sponsored Link

Java Answers Forum
Unable to set parallel port.

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
vincent

Posts: 3
Nickname: vinc
Registered: Apr, 2002

Unable to set parallel port. Posted: Apr 25, 2002 2:50 AM
Reply to this message Reply
Advertisement
Hi,

I would like to set my parallel port in order to have
a bidirectionnal communication by using javax.comm API.
So I install api and i code that:
public class TestLpt1 {
static ParallelPort parallelPort;
// Ouverture de ce port
parallelPort = (ParallelPort)portId.open(TestLpt1.ApplicationName, 2000);

// cr?ation d'un flux d'entr?e
inputStream = parallelPort.getInputStream();

}
but it doesn't work.

Please help me.
Thank,
Vinc.

Topic: Sample ParallelBlackBox from java.com doesn't work Previous Topic   Next Topic Topic: seeking solution for this question

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use