posSetPrtAndFeedPaper static method

Uint8List? posSetPrtAndFeedPaper(
  1. int feed
)

Print and take paper (0~255) @param feed @return

Implementation

static Uint8List? posSetPrtAndFeedPaper(int feed) {
  if (feed < 0 || feed > 255) return null;
  Command.escJ[2] = feed;
  return Uint8List.fromList(Command.escJ);
}