I'm using WebSerial API to use thermal-printer in chrome browser, and want to access only 'COM1' port without requestPort.
Can I access to specific port and using that port?
I'm using WebSerial API to use thermal-printer in chrome browser, and want to access only 'COM1' port without requestPort.
Can I access to specific port and using that port?
Copyright © 2021 Jogjafile Inc.
For security purposes user consent is needed for the
WebSerial API.After the first connection you could use this code to access previously consented ports by user