bluetooth_print icon indicating copy to clipboard operation
bluetooth_print copied to clipboard

Font Size

Open Gioelio opened this issue 5 years ago • 3 comments

Hi, I've tried a lot of command to increase text, including weight and size when I create LineText, I don't know if there are other commands to increase this, but I don't found it and if you can include this possibility in your code would be great. (I test only in esc mode)

Gioelio avatar Jul 06 '20 13:07 Gioelio

I have the same problem

ReniDelonzek avatar Sep 29 '20 01:09 ReniDelonzek

I have same problem too, any solution?

c0c4i avatar Feb 08 '21 09:02 c0c4i

I have the same issue as well and I think this might be a solution for the esc method:

On Android, the width and height parameter also need to change when adjusting size to change the font size. This works for me:

list.add(LineText(
                                    type: LineText.TYPE_TEXT,
                                    content: 'Large text size',
                                    size: 1,
                                    width: 1,
                                    height: 1,
                                    linefeed: 1));

Print result:

image

luoxufeiyan avatar Feb 24 '21 03:02 luoxufeiyan