posSetLineSpace static method

Uint8List? posSetLineSpace(
  1. int space
)

设置行间距 @param space @return

Implementation

static Uint8List? posSetLineSpace(int space) {
  if (space < 0 || space > 255) return null;

  Command.escThree[2] = space;
  return Uint8List.fromList(Command.escThree);
}