Receipt alignment is not working properly in swift

后端 未结 1 758
轮回少年
轮回少年 2021-01-15 19:22

I am currently printing receipt from my data when i print my receipt alignment data is not working properly

i think that i should apply start index and end index to

相关标签:
1条回答
  • 2021-01-15 19:32

    your code is fine additionally , there is the option in Epson Printer in

    enum EposOcAlign {
     EPOS_OC_ALIGN_LEFT = 0,
     EPOS_OC_ALIGN_CENTER,
     EPOS_OC_ALIGN_RIGHT
    };
    

    the method is invoked as - (int) addTextAlign:(int)align; use align type as center and try once

    0 讨论(0)
提交回复
热议问题