设置旋转90度打印 @param rotate @return
static Uint8List? posSetRotate(int rotate) { if (rotate < 0 || rotate > 1) return null; Command.escV[2] = rotate; return Uint8List.fromList(Command.escV); }