选择字体字型 @param font @return
static Uint8List? posSetChoseFont(int font) { if (font > 1 || font < 0) return null; Command.escM[2] = font; return Uint8List.fromList(Command.escM); }