cut method

void cut({
  1. PosCutMode mode = PosCutMode.full,
})

Cut the paper

mode is used to define the full or partial cut (if supported by the priner)

Implementation

void cut({PosCutMode mode = PosCutMode.full}) {
  emptyLines(5);
  if (mode == PosCutMode.partial) {
    bytes += cCutPart.codeUnits;
  } else {
    bytes += cCutFull.codeUnits;
  }
}