- We would like to be able to control some specialized printers
through a web browser. These include receipt and label printers. In
some cases there may be more than one printer attached to a computer.
- We would like the content of the web page to be able to choose (or
at least suggest) which printer to use.
- It would be nice to bypass the normal printer dialog box which
the browser opens
- Normal printer drivers (Windows, CUPS, etc.) are very page-oriented
and don't work so well with continuous-form printers
- We would like to be able to control various and in some cases custom
USB devices through a browser.
- We would like to be able to control a scanner from within a web
page. Flash supports TWAIN but as well as I can tell, only cameras
and not scanners. Java applets can talk to scanners but Java applets
are not my favourite things to work with.
We can accomplish some of these things by installing programs directly
on the computer and configuring mime types in the browser to call them
but I think that might be difficult and clunky, especially with wide
deployment.
Perhaps another way of looking at this is just as a USB<->HTTP bridge.
Do you think Gears might venture into this area? Has anyone else
considered similar problems?
A couple things to keep in mind:
- Since JS doesn't really support binary data, what interface would be exposed?
- Any Gears API needs to work consistently across platforms --
including on platforms that don't have serial or USB. (This might
just mean there needs to be an 'open' call that can fail.)