I need to access a USB device to read data and display in a web page.
I also have another requirement to open one of the installed printers
and send the print stream to it. What is the best way to achieve this?

I developed a plugin to do something similar to this for Netscape few
years ago and want to know the best way for the firefox browser!

Thank you,