brasizza/sunmi_printer

Possibility to print in a different typeface

Opened this issue · 2 comments

Sunmi documentation shows a method 'printTextWithFont' which accepts a string parameter typeFace. Is it possible to add this method to this library. Or is printing a image a way around to achieve this. Thanks

LGTM. i think i forgot put this method , i will include this method in next version asap

@roitnaidu23 , this is a commend in the AIDL method

/**

  • Print text in the specified font. The font setting is only effective this time.
  • text: To print text
  • typeface: font name (temporarily only system callable, external calls are invalid)
  • fontsize: font size
    */