star-micronics / react-native-star-io10

react-native-star-io10 is a library for supporting application development for Star Micronics devices.
Other
91 stars 55 forks source link

Unable to print Japanese Text on SM-L300 #79

Closed DevHumzaAhzam closed 2 years ago

DevHumzaAhzam commented 2 years ago

Description

I am trying to print a Japanese string but instead it leaves a blank space

Your device where the bug occurs

Your printer

DevHumzaAhzam commented 2 years ago

@bandit-ibayashi I have a major release in Japan at the end of this week can you please help me out with this issue ? I have even tried this styleInternationalCharacter(StarXpandCommand.Printer.InternationalCharacterType.Japan) but still unable to print Japanese string.

amjadislam commented 2 years ago

I'm Facing the same issue, can anyone help?

bandit-ibayashi commented 2 years ago

To print Japanese, it is necessary to change the printer settings. Please follow the procedure below to set the printer to Japanese.

  1. Download the Portable Software below and install it on your Windows PC. StarPRNT for Portable Software Setup EXE File
  2. Launch "Portable Printer Utility". Please refer to the manual below for details. Portable Printer Software Installation Manual
  3. Select "Printer Settings".
  4. Change the setting of "Asian Character (DBCS)" to "Double-Byte Character (DBCS)" and "Multi Bytes Character Code" to "Japanese". Please refer to the following diagram. SM-L300_PrinterSettings
  5. Tap [Store] button to reflect the settings to the printer.
DevHumzaAhzam commented 2 years ago

@bandit-ibayashi my bad I didn't know that I have to update the printer settings. After updating Japanese is printing. Thank you.