add --halfcut for printers with a half cutter

Sends ESC i K (advanced mode settings) with the half cut bit, and the chain bit
according to --chain. The command is only sent when an option needs it, so
printers that do not know it see no change; on the PT-D460BT family it
replaces the separate chain command, which is the same command.

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:08 +01:00
1 parent 0aed8932eb
commit 2e7185a787
4 files changed
+48 -2

No files matched your search

+5
View File
@@ -85,6 +85,11 @@ that would otherwise cut off parts of the printed text or image.
Blank tape the printer adds before and after the label, in dots (0 to 1000).
Without this option the printer uses its default of 14 dots (2 mm at 180 dpi).
Small values save tape, mostly in chain mode.
.TP
.BR \-\-halfcut
Cut through the tape but not its backing between labels, so a strip of labels
stays in one piece. Only for printers with a half cutter (for example the
PT-P900 series); other printers ignore it.
.SS "Getting help and display information"
.TP