add --cut-every to cut only after every n copies

Sends ESC i A (cut every n labels) together with auto cut (ESC i M 0x40), so
--copies 10 --cut-every 5 gives two strips of five labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Philipp MundhenkandClaude Opus 5.5 authored and Dominic Radermacher committed 2026-11-14 19:01:12 +01:00
1 parent 2e7185a787
commit 7e9516d5d0
4 files changed
+40 -1

No files matched your search

+1
View File
@@ -136,6 +136,7 @@ int ptouch_info_cmd(ptouch_dev ptdev, int size_x);
int ptouch_send_precut_cmd(ptouch_dev ptdev, int precut);
int ptouch_send_margin(ptouch_dev ptdev, int dots);
int ptouch_send_advanced_mode(ptouch_dev ptdev, uint8_t mode);
int ptouch_send_cut_every(ptouch_dev ptdev, int n);
int ptouch_rasterstart(ptouch_dev ptdev);
int ptouch_sendraster(ptouch_dev ptdev, uint8_t *data, size_t len);
void ptouch_rawstatus(uint8_t raw[32]);