Definitely not with Javascript. The browser doesn't grant access to very many host hardware devices.
You could probably do it using an ActiveX control, BUT: ActiveX controls only run in IE, they aren't easy to get right, and there are a host of security issues to think about.
Maybe a Java applet could do it, but I did a quick Google and didn't find any info on that, so I'm thinking probably not.
So I think the answer is basically NO. If you want to interact with the users hardware, you'll have to write a desktop app, not a browser app. Then you'll have to convince users to install your app.