Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Read and Write to the parallel port?

Status
Not open for further replies.

r_pem

Newbie level 2
Newbie level 2
Joined
Feb 3, 2005
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
22
read and write lpt port using java

How Can I Read and Write to Parallel Port using java? Someone Plz help!!!!!
 

A simple google search found this:

Code:
Parallel Printer Port Access through Java

Have you ever tried to access the parallel port (printer port) inside a Java program? Well, if you have, you have probably already downloaded the commapi package that sun offers to perform this task, or tried using portio or any other thing that might resolve your problem. The fact that you are here indicates that none of these programs seem to work! And we need a solution... fast! Well folks, here it is [Windows - Linux]. It turns out that you can write code in C and Java can use it through the Java Native Interface (JNI). Take a look at the installation instructions to setup ParallelPort on your PC [Windows - Linux].
Would you please at least try to do a simple search before asking?
 

Java CommAPI has problems with Windows ... parallel port does not work ... solution ... go to the sun discussion forums ... a couple of guys have put their solutions there ... that will solve your problem ... you will need to copy a dll file in the respective folder ... and use the API provided instead of CommAPI to access and use the parallel port ... i can give you the exact link ... but it is better if you check out the forums ... you might find more useful things there
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top