fix: increase feed to 4 lines in escpos_generator to clear cutter blade on integrated printers
This commit is contained in:
parent
fe1b692f4f
commit
e71f979e3b
@ -337,8 +337,8 @@ export class EscPosGenerator {
|
||||
}
|
||||
}
|
||||
|
||||
// Feed and cut (reduced feed to 1 line to prevent footer white spaces on integrated Android/iMin printers)
|
||||
cmds.push(...this.feedAndCut(1));
|
||||
// Feed and cut (set feed to 4 lines to ensure the footer clears the cutter blade before cutting)
|
||||
cmds.push(...this.feedAndCut(4));
|
||||
|
||||
return new Uint8Array(cmds);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user