This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "USB API for Windows" Watch "USB API for Windows" New topic

USB API for Windows

Leandro Preda

Joined: Jul 31, 2008
Posts: 2

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 ?

Leandro R. Preda
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
Welcome to JavaRanch.

The has a couple of links regarding Java and USB; maybe they're helpful to you.
Joe Ess

Joined: Oct 29, 2001
Posts: 9154

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

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:
subject: USB API for Windows
jQuery in Action, 3rd edition