star-io10-web
v1.0.0
Published
star-io10-web is a library for supporting web application development for Star Micronics devices.
Downloads
245
Maintainers
Readme
star-io10-web
star-io10-webis a library for supporting application development for Star Micronics devices.
This library is included in StarXpand SDK.
Documentation
Please refer here for StarXpand SDK documentation.
Documentation includes an overview of the SDK, how to build a sample application, how to use the API, and a API reference.
Requirements
| OS | OS Version | Browser | Browser Version | | --------- | ---------- | ------- | --------------- | | Windows11 | 25H2 | Chrome | 144 | | Windows11 | 25H2 | Edge | 144 | | macOS | 26.2 | Chrome | 144 | | ChromeOS | 143 | Chrome | 143 | | Ubuntu | 24.04 | Chrome | 144 | | Android | 16 | Chrome | 144 |
Sample application included in SDK has been confirmed to work with above environments.
Firefox,Safari are not supported because they do not support WebUSB API as of February, 2026.
Installation
npm install star-io10-web --save Examples
StarXpand SDK includes an example application that can be used in combination with devices to check its operation. Please build and run it by following steps.
- React development environment preparation
Prepare a React development environment to build the sample application.
https://react.dev/learn/setup
Move to example directory
cd exampleInstall dependencies
npm installRun the development server
npm startPreparation USB Drivers
Please refer to here for USB driver replacement procedure for Windows and Ubuntu.
Access http://localhost:3000 in your browser
Discover a device
Click on
Discoverybutton on your browser, then access http://localhost:3000/discoveryConnect your device to your host device with USB cable
Click on
DiscoverbuttonA pop-up appears
Select a device you want to connect
It allows your browser to communicate with your device and displays its identifier and model.
- Clicking on
StarXpand SDK for Webbring you back to http://localhost:3000
Print
Click on
Printingbutton, and access http://localhost:3000/printingClick on
Print, then execute printing
Copyright
Copyright 2025 Star Micronics Co., Ltd. All rights reserved.
