star-micronics / StarPRNT-SDK-Android-Java

StarPRNT SDK for Android including libraries for supporting application development for Star printers.
https://www.star-m.jp/products/s_print/sdk/starprnt_sdk/manual/android_java/en/index.html
Other
15 stars 4 forks source link

How to set Bitmap in the Center #14

Closed SidSpPlus closed 1 month ago

SidSpPlus commented 8 months ago
       builder.appendBitmapWithAlignment(createBitmapFromText(model.title, textSize, 384, typeface), true, ICommandBuilder.AlignmentPosition.Center);
bandit-ibayashi commented 8 months ago

@SidSpPlus Could you please provide enough information for us to investigate this Issue using the template? Also if you are using TSP100 or TSP100III, this method will always be left-justified.

SidSpPlus commented 8 months ago

I am using sm230i printer

bandit-ibayashi commented 8 months ago

Please confirm your SM-S230i setting if its setting is "EMU = StarPRNT" by the following way. https://www.star-m.jp/products/s_print/sdk/starprnt_sdk/manual/android_java/en/getting_start.html#gettingstart-printer image

If "EMU=ESC/POS", this method will always align to the left.

bandit-ibayashi commented 1 month ago

This Issue is closed as there has been no movement for over 6 months. If you continue to have issues, please let us know.