You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val CHARCODE_THAI42: Byte = 0x15 // Thai character code 42
val CHARCODE_THAI11: Byte = 0x16 // Thai character code 11
val CHARCODE_THAI13: Byte = 0x17 // Thai character code 13
val CHARCODE_THAI14: Byte = 0x18// Thai character code 14
val CHARCODE_THAI16: Byte = 0x19// Thai character code 16
val CHARCODE_THAI17: Byte = 0x1a // Thai character code 17
val CHARCODE_THAI18: Byte = 0x1b // Thai character code 18
but English is work
The text was updated successfully, but these errors were encountered:
I'm try
printables.add(TextPrintable.Builder()
.setText("สวัสดี ร้านแก๊ส World 1")
.setAlignment(DefaultPrinter.ALIGNMENT_CENTER)
.setEmphasizedMode(DefaultPrinter.EMPHASIZED_MODE_BOLD)
.setFontSize(DefaultPrinter.FONT_SIZE_NORMAL)
.setUnderlined(DefaultPrinter.UNDERLINED_MODE_ON)
.setCharacterCode(DefaultPrinter.CHARCODE_THAI16) // try everything
.setLineSpacing(DefaultPrinter.LINE_SPACING_60)
.setNewLinesAfter(1)
.build())
val CHARCODE_THAI42: Byte = 0x15 // Thai character code 42
val CHARCODE_THAI11: Byte = 0x16 // Thai character code 11
val CHARCODE_THAI13: Byte = 0x17 // Thai character code 13
val CHARCODE_THAI14: Byte = 0x18// Thai character code 14
val CHARCODE_THAI16: Byte = 0x19// Thai character code 16
val CHARCODE_THAI17: Byte = 0x1a // Thai character code 17
val CHARCODE_THAI18: Byte = 0x1b // Thai character code 18
but English is work
The text was updated successfully, but these errors were encountered: