add --feed to set the blank tape before and after a label

Sends ESC i d (specify margin amount) with the given number of dots. Without
the option nothing changes: the printer keeps its default of 14 dots.

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:03 +01:00
1 parent 02be73c75b
commit 0aed8932eb
4 files changed
+40 -1

No files matched your search

+1
View File
@@ -127,6 +127,7 @@ int ptouch_send_d460bt_chain(ptouch_dev ptdev);
int ptouch_enable_packbits(ptouch_dev ptdev);
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_rasterstart(ptouch_dev ptdev);
int ptouch_sendraster(ptouch_dev ptdev, uint8_t *data, size_t len);
void ptouch_rawstatus(uint8_t raw[32]);