posSetCut static method

Uint8List? posSetCut(
  1. int cut
)

Cutter instructions (paper to cutter position and cut) @param cut 0~255 @return

Implementation

static Uint8List? posSetCut(int cut) {
  if (cut > 255 || cut < 0) return null;
  Command.gsVmn[3] = cut;
  return Uint8List.fromList(Command.gsVmn);
}