Closed SidSpPlus closed 5 months ago
ICommandBuilder builder = StarIoExt.createCommandBuilder(StarIoExt.Emulation.EscPosMobile); builder.appendMultiple(("Hello this is for the Testing"+"1" + "\n").getBytes(encoding), 1, 1); // Your text here
I am using this for printing
but with this if i try to increase font size its stretch and become dark
Any feedback?
@Tatsuki-Yamamoto2731 Any solution for this?
@Tatsuki-Yamamoto2731 Hello
@SidSpPlus According to your comment, I think you are using StarPRNT SDK (here is StarXpand SDK issue). Unfortunately, appendMultiple() cannot increase font size without making it bold or dark. This is because if the width is doubled, the letter thickness is also doubled.
If you must increase font size without making it bold or dark, the only way is to make printing data as an image (graphic) and use appendBitmap().
@Tatsuki-Yamamoto2731 Thank you.
@SidSpPlus You may be able to use MagnificationParameter.
You can refer this page for the usage.
Could you please try it?