star-io10-web is a library for supporting web application development for Star Micronics devices.
npm install star-io10-webstar-io10-webis a library for supporting application development for Star Micronics devices. 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 November, 2025.
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.
1. Move to example directory
`bash
cd example
`
2. Install dependencies
`bash
npm install
`
3. Run the development server
`bash
npm start
` 4. Preparation USB Drivers
Please refer to here for USB driver replacement procedure for Windows and Ubuntu.
5. Access http://localhost:3000 in your browser
6. Discover a device
1. Click on
Discovery button on your browser, then access http://localhost/discovery:3000
2. Connect your device to your host device with USB cable
3. Click on Discover button
4. A pop-up appears
src="Documents/Discovery_1.png"
width="600"
style="margin-top: 20px; margin-bottom: 20px;"
/>
5. Select a device you want to connect
6. It allows your browser to communicate with your device and displays its identifier and model.
src="Documents/Discovery_2.png"
width="600"
style="margin-top: 20px; margin-bottom: 20px;"
/>
7. Clicking on StarXpand SDK for Web bring you back to http://localhost:3000
7. Print
1. Click on Printing button, and access http://localhost/printing:3000
2. Click on Print`, then execute printing