Does anyone know of a browser plug-in that will let JavaScript directly address a serial port from my browser?
I want to write a browser based point of sale system, and need to send a receipt to a receipt printer on completion of sale. This raises some major hurdles.
First, there are very few such printers with Windows drivers. Most are serial printers that require a printer string to be sent directly to the serial port.
Second, by directly addressing the port, I would be bypassing the windows print manager, saving time while the print dialog loads, and a mouse click to actually send the document.
Finally, windows print requests are page based, and are not designed for printing on continuous rolls. If I could simply address the serial port, and send character strings and cr/lf commands, it wouldn’t matter how long the receipt was. It would just keep printing until it received the end of print command.
Any suggestions?
CTB