cutPaper method
Cut paper and optionally specify the CuttingShape and the amount of paper feed.
- Use
PaperCutting.functionAif you want to simply cut the paper. - Use
PaperCutting.functionBif you want to feeds the paper before cut.
Notes:
- CutPaper will be defaulted to
PaperCutting.functionBifpaperCutis not provided. - CuttingShape will be defaulted to CuttingShape.fullCut if no CuttingShape provided.
References:
Implementation
void cutPaper({
CutPaper paperCut = const CutPaper.functionB(n: 0),
}) {
_commands.add(paperCut);
}