posSetChoseFont static method

Uint8List? posSetChoseFont(
  1. int font
)

选择字体字型 @param font @return

Implementation

static Uint8List? posSetChoseFont(int font) {
  if (font > 1 || font < 0) return null;

  Command.escM[2] = font;
  return Uint8List.fromList(Command.escM);
}