cut method
Cut the paper
mode
is used to define the full or partial cut (if supported by the priner)
Implementation
List<int> cut({PosCutMode mode = PosCutMode.full}) {
List<int> bytes = [];
bytes += emptyLines(5);
if (mode == PosCutMode.partial) {
bytes += cCutPart.codeUnits;
} else {
bytes += cCutFull.codeUnits;
}
return bytes;
}