posSetBold static method

Uint8List? posSetBold(
  1. int bold
)

加粗指令(最低位为1有效) @param bold @return

Implementation

static Uint8List? posSetBold(int bold) {
  Command.escB[2] = bold;
  Command.escG[2] = bold;
  return Uint8List.fromList(Command.escB + Command.escG);
}