StarXpand SDK for Web Developer's Manual Ver. 1.0.0

Last update: Apr 28, 2026

FAQ

If this page does not solve your problem, refer to Issues in GitHub, as well.

Q: What OSs and development languages are supported?

A: Web applications that run on browsers are supported.
For the support versions of each OS, see this page.
The supported development languages are TypeScript and JavaScript.

Q: How can I use this SDK on my application?

A: Download the star-io10-web package published on npm and embed it to your application using the procedure on this page.

Q: What do I need to do to connect the printer to a tablet or PC?

A: Configure the initial settings. The initial setting method varies depending on the OS or interface you are using. Select your usage environment on this page, and then configure the settings according to the steps.

Q: Can I use a barcode reader?

A: Not yet supported in Ver. 1.0.0.

Q: Can I obtain logs?

A: Yes, you can. For how to use the log function, see "Obtain Logs" on this page.
The log function is assumed to be used for analysis during a test run or in the event of a trouble, so it may affect the performance of the application.

Q: Can I reuse printing data prepared for an existing thermal printer (resolution: 203 dpi) when creating printing data for mC-Label2 (resolution: 300 dpi)?

A: Yes, but some modifications are required.
The following describes the necessary changes using two case examples. For other cases, adjust the number of characters and the print position according to the original printing data and the width of paper to be used (print width).

・Case 1: Reusing 203 dpi printing data with a width of 3 inches
 Example: 203 dpi (width: 72 mm) -> 300 dpi (width: 48.7 mm)      

Printing

Necessary change

Print width

None (for page mode printing, set it to 48 mm)

Text

None

Image

None

Barcode, QR code, PDF417

None

Page mode printing

Change the print width and print position values to two-thirds of their original values.


・Case 2: Reusing 203 dpi printing data with a width of 2 inches
 Example: 203 dpi (width: 48 mm) -> 300 dpi (width: 48 mm)      

Printing

Necessary change

Print width

Set it to 48 mm.

Text

Set the basic printing size to 1.5 times the original value.

Image

Change the image width to 1.5 times the original value.

Barcode, QR code, PDF417

Change the number of barcode bar dots, cell size for QR code, and module x direction size for PDF417 to 1.5 times the original values.

Page mode printing

None

Q: Where can I check the revision history?

A: It is available on GitHub. See this page.

Q: Printing data samples supplied with the SDK are not printed correctly or have a disrupted layout.

A: Make sure that the model you are using can call the supported printing data generation APIs.

Q: The layout of printing data in page mode is disrupted.

A: Refer to PageModeAreaParameter and make sure that the print width in page mode is set correctly. Improper print width settings in page mode may disrupt the layout or prevent printing.

Q: Can I skip obtaining permission to connect using StarDeviceDiscoveryManager?

A: Obtaining permission to connect using StarDeviceDiscoveryManager is not necessary if permission is granted in advance through Google Enterprise.
For details, refer to Google Enterprise and Education Help.

Q: Communication with the printer fails in Windows.

A: Refer to Procedure for communication settings.

Q: Communication with the printer fails in Ubuntu.

A: Refer to Procedure for communication settings.