Format text in bluetooth printer

后端 未结 3 1114
滥情空心
滥情空心 2020-12-09 00:12

actually, I have to implement a module the which connect to a BT termical printer and print in it. I have a simple but functionally example, it works with the printer. The p

3条回答
  •  臣服心动
    2020-12-09 00:45

    There are two perceptions to this:

    you are just trying to print by passing the text. You are leaving option to the printer to choose to print anyway it wants.

    check whether your printer supports Basic Printing Profile[BPP] - Job Based Transfer. I had success printing it in html format, both images and text on a bluetooth printer.

    Also, check for the UUID you are providing. They are different UUID for Object push profile, BPP Job Based Transfer profile. I suggest you use the UUID assiged for BPP[Job based transfer] and try passing a xhtml file with formatted text.

    Thanks Mani

提交回复
热议问题