aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Java Comm Parallel How to Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java Comm Parallel How to" Watch "Java Comm Parallel How to" New topic
Author

Java Comm Parallel How to

gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
Howdy!
Well, is there any way in the world, that I can read output from a printer connected on the parallel port on my box??
Well, the Win32 implementation of the parallel port, shipped with JCA, has a method to set the port type to a bi-directional ( or anything other than LPT_MODE_SPP, which is unidirectional )
but this method throws an UnsupportedCommOperationException, if the port type is NOT 1 ( 1 signifies LPT_MODE_SPP )

I am stuck.. I cant read from the parallel port, the pin status.. and I the damn printer wouldnt give me an outofpaper status... (
and the so helpful method always tells me there is paper... paper or now.. (
Lupo


"In the country of the blind, the one eyed man is the King"
Gautham Kasinath CV at : http://www.geocities.com/gkasinath
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Comm Parallel How to