File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes USB API for Windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "USB API for Windows" Watch "USB API for Windows" New topic
Author

USB API for Windows

Leandro Preda
Greenhorn

Joined: Jul 31, 2008
Posts: 2
Hello

We have an application (GUI) that uses a printer on COM port.

Now they bought a new printer (same model) and it will be connected to USB, I looked on internet and only found an API to be used on Linux but we use windows on clients.

There are some API to be solve our problem ?


thanks
Leandro R. Preda
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42946
    
  70
Welcome to JavaRanch.

The http://faq.javaranch.com/java/JavaIoFaq has a couple of links regarding Java and USB; maybe they're helpful to you.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Do you install a printer driver on the client or are you actually interacting with the COM port? If you have a printer driver, I don't think anything will change.


[How To Ask Questions On JavaRanch]
Leandro Preda
Greenhorn

Joined: Jul 31, 2008
Posts: 2
First of all thanks both for the Welcome message and the Reply.

About my problem I read both sites and I didn't get anything stable to be used.

Actually my program does a directly I/O on COM port and we didn't connected the printer (Zebra printer) on Client so I don't know if this printer is recognized by Windows (:S... sorry about that but I don't have this printer here).

There are a way to make a I/O using a windows printer ? If I got this printer recognized on windows.

Thanks Guys

Leandro R. preda
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: USB API for Windows