[Pas2js] is it possible to control scanner device by using wia

Michael Van Canneyt michael at freepascal.org
Tue Oct 12 09:43:50 CEST 2021



On Tue, 12 Oct 2021, Mgr. Janusz Chmiel wrote:

> Dear Jean,
> Thank you very much for yours answer.
>
> I AM aware that I would want too much from Javascript. But future may be allow even scanning not only from USB but from Bluetooth. May bbe, that even Bluetooth scanners exist or will exist.

You can already connect to bluetooth devices today with Javascript.

https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API

Mattias Gaertner, who handles the compiler, has - I think 2 years ago -
worked on a small demo project that allowed to talk to Bluetooth devices.

Michael.


More information about the Pas2js mailing list